-
Notifications
You must be signed in to change notification settings - Fork 18
/
build.gradle
41 lines (38 loc) · 1.22 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
mavenCentral()
maven { url 'https://maven.google.com' }
maven { url 'https://developer.huawei.com/repo/' }
}
dependencies {
classpath 'com.android.tools.build:gradle:8.3.2'
classpath 'com.google.gms:google-services:4.4.2'
classpath 'com.huawei.agconnect:agcp:1.9.1.303'
classpath "io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.30.0"
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.25'
}
}
apply plugin: 'io.codearte.nexus-staging'
nexusStaging {
packageGroup = project.SWRVE_GROUP_ID
stagingProfileId = System.getenv('SONATYPE_STAGING_ID')
username = System.getenv('SONATYPE_USER')
password = System.getenv('SONATYPE_PASSWORD')
numberOfRetries = 150
}
allprojects {
repositories {
google()
mavenCentral()
maven { url "https://maven.google.com" }
maven { url 'https://developer.huawei.com/repo/' }
}
if (System.env['CIRCLE_CI'] != null) {
tasks.withType(Test) {
minHeapSize = '128m'
maxHeapSize = '512m'
}
}
}