-
Notifications
You must be signed in to change notification settings - Fork 229
/
build.gradle
61 lines (55 loc) · 1.53 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
56
57
58
59
60
61
buildscript {
repositories {
jcenter()
google()
maven {
url = "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.1'
classpath 'io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.21.2'
classpath 'de.marcphilipp.gradle:nexus-publish-plugin:0.4.0'
}
}
plugins {
id 'io.codearte.nexus-staging' version '0.21.2'
id 'de.marcphilipp.nexus-publish' version '0.4.0' apply false
}
allprojects {
repositories {
flatDir {
dirs "${rootDir}/libs"
}
google()
jcenter()
}
}
version '3.20.1'
ext {
compileSdkVersion = 31
minSdkVersion = 21
targetSdkVersion = 31
versionCode = 133
versionName = version
googlePaymentVersion = '3.3.1'
playServicesWalletVersion ='16.0.1'
}
nexusStaging {
packageGroup = project.hasProperty('nexusPackageGroup') ? project.getProperty('nexusPackageGroup') : 'com.braintreepayments'
// give nexus sonatype more time to close the staging repository
delayBetweenRetriesInMillis = 20000
username = System.env['SONATYPE_USERNAME']
password = System.env['SONATYPE_PASSWORD']
}
subprojects {
repositories {
maven {
url "https://cardinalcommerceprod.jfrog.io/artifactory/android"
credentials {
username 'braintree_team_sdk'
password 'AKCp8jQcoDy2hxSWhDAUQKXLDPDx6NYRkqrgFLRc3qDrayg6rrCbJpsKKyMwaykVL8FWusJpp'
}
}
}
}