mirror of
https://github.com/etesync/android
synced 2025-07-14 10:38:21 +00:00
build.gradle: fix indentation.
This commit is contained in:
parent
db588de749
commit
423fcf060c
@ -39,9 +39,9 @@ android {
|
|||||||
* appDebugRemoteUrl="http://localserver:8080/"
|
* appDebugRemoteUrl="http://localserver:8080/"
|
||||||
*/
|
*/
|
||||||
if (project.hasProperty('appDebugRemoteUrl')) {
|
if (project.hasProperty('appDebugRemoteUrl')) {
|
||||||
buildConfigField 'String', 'DEBUG_REMOTE_URL', appDebugRemoteUrl
|
buildConfigField 'String', 'DEBUG_REMOTE_URL', appDebugRemoteUrl
|
||||||
} else {
|
} else {
|
||||||
buildConfigField 'String', 'DEBUG_REMOTE_URL', 'null'
|
buildConfigField 'String', 'DEBUG_REMOTE_URL', 'null'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
release {
|
release {
|
||||||
@ -103,20 +103,19 @@ android {
|
|||||||
*/
|
*/
|
||||||
if (project.hasProperty('signingStoreLocation') &&
|
if (project.hasProperty('signingStoreLocation') &&
|
||||||
project.hasProperty('signingKeyAlias')) {
|
project.hasProperty('signingKeyAlias')) {
|
||||||
println "Found sign properties in gradle.properties! Signing build…"
|
println "Found sign properties in gradle.properties! Signing build…"
|
||||||
|
|
||||||
signingConfigs {
|
signingConfigs {
|
||||||
release {
|
release {
|
||||||
storeFile file(signingStoreLocation)
|
storeFile file(signingStoreLocation)
|
||||||
storePassword System.getenv("KSTOREPWD")
|
storePassword System.getenv("KSTOREPWD")
|
||||||
keyAlias signingKeyAlias
|
keyAlias signingKeyAlias
|
||||||
keyPassword System.getenv("KSTOREPWD")
|
keyPassword System.getenv("KSTOREPWD")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
buildTypes.release.signingConfig = signingConfigs.release
|
||||||
buildTypes.release.signingConfig = signingConfigs.release
|
|
||||||
} else {
|
} else {
|
||||||
buildTypes.release.signingConfig = null
|
buildTypes.release.signingConfig = null
|
||||||
}
|
}
|
||||||
compileOptions {
|
compileOptions {
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
|
Loading…
Reference in New Issue
Block a user