forked from lkorth/device-automator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
42 lines (38 loc) · 937 Bytes
/
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
42
buildscript {
repositories {
google()
jcenter()
maven {
url = "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.1'
classpath 'de.marcphilipp.gradle:nexus-publish-plugin:0.4.0'
classpath 'io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.21.2'
}
}
plugins {
id 'io.codearte.nexus-staging' version '0.21.2'
}
version '1.0.0'
ext {
compileSdkVersion = 30
minSdkVersion = 21
targetSdkVersion = 30
versionCode = 6
versionName = version
}
allprojects {
repositories {
google()
jcenter()
}
}
nexusStaging {
packageGroup = "com.braintreepayments"
// give nexus sonatype more time to close the staging repository
delayBetweenRetriesInMillis = 20000
username = System.env['SONATYPE_USERNAME']
password = System.env['SONATYPE_PASSWORD']
}