-
Notifications
You must be signed in to change notification settings - Fork 17
/
build.gradle
33 lines (30 loc) · 909 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
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.1.4'
}
}
allprojects {
repositories {
google()
jcenter()
}
def propertiesFile = file("publish.properties")
if (propertiesFile.exists()) {
def props = new Properties()
propertiesFile.withInputStream { props.load(it) }
ext {
setProperty("signing.keyId", props["signing.keyId"])
setProperty("signing.password", props["signing.password"])
setProperty("signing.secretKeyRingFile", props["signing.secretKeyRingFile"])
setProperty("mavenCentralRepoUsername", props["mavenCentralRepoUsername"])
setProperty("mavenCentralRepoPassword", props["mavenCentralRepoPassword"])
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}