Don't append signingConfigs to build.gradle

This commit is contained in:
Ali Abrar 2017-05-16 21:40:21 -04:00 committed by Matthew Bauer
parent 465e3a01d4
commit abddf4ab83

View file

@ -85,18 +85,7 @@ stdenv.mkDerivation ({
echo "RELEASE_KEY_ALIAS=${keyAlias}"
echo "RELEASE_STORE_PASSWORD=${keyStorePassword}"
echo "RELEASE_KEY_PASSWORD=${keyAliasPassword}"
) >> local.properties
cat >>build.gradle <<EOF
signingConfigs {
release {
storeFile file(RELEASE_STORE_FILE)
storePassword RELEASE_STORE_PASSWORD
keyAlias RELEASE_KEY_ALIAS
keyPassword RELEASE_KEY_PASSWORD
}
}
EOF
) >> gradle.properties
''}
buildDir=`pwd`
cp -r $ANDROID_HOME $buildDir/local_sdk