clear gradle.properties in CI-Build

This commit is contained in:
Felix 2019-05-01 18:09:10 +02:00
parent 23dcd85b12
commit 482878c1a9
2 changed files with 7 additions and 3 deletions

View file

@ -24,7 +24,7 @@ jobs:
echo "export LIBS_LOWER=\"$(tr '[:upper:]' '[:lower:]' <<< ${LIBS:0:1}${LIBS:1})\"" >> $BASH_ENV
echo "$ENCODED_KEYSTORE" | base64 --decode >> ${HOME}/code/keystore.jks
echo 'export KEYSTORE=${HOME}/code/keystore.jks' >> $BASH_ENV
echo "\n" >> gradle.properties
echo > gradle.properties
echo "chaosflixKeystore=$KEYSTORE" >> gradle.properties
echo "chaosflixStorePassword=$KEYSTORE_PASSWORD" >> gradle.properties
echo "chaosflixKeyName=$KEY_NAME" >> gradle.properties
@ -86,4 +86,8 @@ jobs:
- save_cache:
paths:
- ~/.gradle
key: jars-{{ checksum "build.gradle" }}-{{ checksum "touch/build.gradle" }}-{{ checksum "leanback/build.gradle" }}-{{ checksum "common/build.gradle" }}
key: jars-{{ checksum "build.gradle" }}-{{ checksum "touch/build.gradle" }}-{{ checksum "leanback/build.gradle" }}-{{ checksum "common/build.gradle" }}
- run:
name: cleanup
command: rm -rf ~/code
when: always

View file

@ -1,2 +1,2 @@
org.gradle.jvmargs=-XX\:MaxHeapSize\=2048m -Xmx1536m
android.enableR8=true
android.enableR8=true