forked from braintree/braintree-android-drop-in
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
56 lines (49 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
buildscript {
repositories {
google()
jcenter()
maven {
url = "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.0'
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 '5.0.2-SNAPSHOT'
ext {
compileSdkVersion = 30
minSdkVersion = 21
targetSdkVersion = 30
versionCode = 85
versionName = version
}
allprojects {
repositories {
google()
jcenter()
}
}
subprojects {
repositories {
maven {
url "https://cardinalcommerce.bintray.com/android"
credentials {
username 'braintree-team-sdk@cardinalcommerce'
password '220cc9476025679c4e5c843666c27d97cfb0f951'
}
}
}
}
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']
}