-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpublish.gradle
More file actions
26 lines (23 loc) · 870 Bytes
/
publish.gradle
File metadata and controls
26 lines (23 loc) · 870 Bytes
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
artifactory {
clientConfig.setIncludeEnvVars(true)
contextUrl = 'https://cboost.jfrog.io/artifactory'
publish {
repository {
// If this is a release build, push to the public "chartboost-ads" artifactory.
// Otherwise, push to the "private-chartboost-ads" artifactory.
if (ChartboostMonetizationSdkInfo.isReleaseBuild) {
repoKey = 'chartboost-ads'
} else {
repoKey = 'private-chartboost-ads'
}
// Set the environment variables for these to be able to push to artifactory.
username = System.getenv("JFROG_USER")
password = System.getenv("JFROG_PASS")
}
defaults {
publications('ChartboostProduction', 'aar')
publishArtifacts = true
publishPom = true
}
}
}