forked from afollestad/material-dialogs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbintrayconfig.gradle
26 lines (23 loc) · 924 Bytes
/
bintrayconfig.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
if (!project.rootProject.file('local.properties').exists()) {
println "Not applying install.gradle"
return
}
if (shard == null) {
throw new IllegalStateException("Must specify a shard in module's build.gradle")
} else if (versions == null || versions.publishVersion == null) {
throw new IllegalStateException("Unable to reference publishVersion")
}
Properties properties = new Properties()
properties.load(project.rootProject.file('local.properties').newDataInputStream())
publish {
bintrayUser = properties.getProperty("bintray.user")
bintrayKey = properties.getProperty("bintray.apikey")
userOrg = 'drummer-aidan'
groupId = 'com.afollestad.material-dialogs'
uploadName = "material-dialogs:$shard"
artifactId = shard
publishVersion = versions.publishVersion
desc = 'A beautiful, fluid, and customizable dialogs API.'
website = 'https://github.com/afollestad/material-dialogs'
dryRun = false
}