forked from kiall/android-tvheadend
/
signing.gradle
32 lines (29 loc) · 864 Bytes
/
signing.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
android {
signingConfigs {
if (tvhHasProperty("keystoreFile")) {
release {
// TODO: Also support relative paths to the storeFile?
storeFile file(tvhProperty("keystoreFile"))
storePassword tvhProperty("keystorePassword")
keyAlias tvhProperty("keyAlias")
keyPassword tvhProperty("keyPassword")
}
}
debug {
storeFile rootProject.file("debug-keystore.jks")
storePassword "password"
keyAlias "debug key"
keyPassword "password"
}
}
buildTypes {
if (tvhHasProperty("keystoreFile")) {
release {
signingConfig signingConfigs.release
}
}
debug {
signingConfig signingConfigs.debug
}
}
}