mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-27 11:42:16 -05:00
Revert accedentially added signing options from build.gradle
This commit is contained in:
parent
6881daae6a
commit
0f81cc192a
28
build.gradle
28
build.gradle
@ -39,34 +39,6 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* To sign release build, create file gradle.properties in ~/.gradle/ with this content:
|
|
||||||
*
|
|
||||||
* signingStoreLocation=/home/key.store
|
|
||||||
* signingStorePassword=xxx
|
|
||||||
* signingKeyAlias=alias
|
|
||||||
* signingKeyPassword=xxx
|
|
||||||
*/
|
|
||||||
if (project.hasProperty('signingStoreLocation') &&
|
|
||||||
project.hasProperty('signingStorePassword') &&
|
|
||||||
project.hasProperty('signingKeyAlias') &&
|
|
||||||
project.hasProperty('signingKeyPassword')) {
|
|
||||||
println "Found sign properties in gradle.properties! Signing build…"
|
|
||||||
|
|
||||||
signingConfigs {
|
|
||||||
release {
|
|
||||||
storeFile file(signingStoreLocation)
|
|
||||||
storePassword signingStorePassword
|
|
||||||
keyAlias signingKeyAlias
|
|
||||||
keyPassword signingKeyPassword
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
buildTypes.release.signingConfig = signingConfigs.release
|
|
||||||
} else {
|
|
||||||
buildTypes.release.signingConfig = null
|
|
||||||
}
|
|
||||||
|
|
||||||
// Do not abort build if lint finds errors
|
// Do not abort build if lint finds errors
|
||||||
lintOptions {
|
lintOptions {
|
||||||
abortOnError false
|
abortOnError false
|
||||||
|
Loading…
Reference in New Issue
Block a user