Commit b52b3351 authored by Geoffrey Métais's avatar Geoffrey Métais

Do not sign CLI release builds

parent 935eaf48
......@@ -229,7 +229,7 @@ else
ACTION="assemble"
fi
TARGET="${ACTION}${PLATFORM}${GRADLE_ABI}${BUILDTYPE}"
PASSWORD_KEYSTORE="$PASSWORD_KEYSTORE" ./gradlew $TARGET
CLI="" ./gradlew $TARGET
fi
#######
......
......@@ -61,7 +61,7 @@ android {
}
//Set the build ABI according to build types only if not launched from compile.sh
if (System.getenv('PASSWORD_KEYSTORE') == null)
if (System.getenv('CLI') == null)
tasks.whenTaskAdded { task ->
if (task.name.startsWith('assemble')) {
if (task.name.endsWith('ARMv7Debug'))
......@@ -92,19 +92,14 @@ android {
*/
storeFile file(keyStoreFile)
keyAlias storealias
if (System.getenv('PASSWORD_KEYSTORE') != null && !System.getenv('PASSWORD_KEYSTORE').isEmpty()){
storePassword = System.getenv('PASSWORD_KEYSTORE')
keyPassword = System.getenv('PASSWORD_KEYSTORE')
} else {
storePassword storepwd
keyPassword storepwd
}
storePassword storepwd
keyPassword storepwd
}
}
buildTypes {
release {
signingConfig signingConfigs.release
signingConfig System.getenv('CLI') != null ? null : signingConfigs.release
minifyEnabled true
shrinkResources false
proguardFile 'proguard.cfg'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment