Revert "travis: remove gradle config patching"

This reverts commit 957b6ee977.
main
Alibek Omarov 5 years ago
parent 5e9bd26f24
commit 194c4c6250
  1. 5
      .travis.yml

@ -4,6 +4,9 @@ android:
components:
- android-29
- build-tools-28.0.3
before_script:
- sed -i "s/blue {}//" app/build.gradle
- sed -i "s/debug {}//" app/build.gradle
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
@ -13,7 +16,7 @@ cache:
- $HOME/.gradle/wrapper/
- $HOME/.android/build-cache
script:
- ./gradlew buildGreenRelease
- ./gradlew build
after_success:
- $ANDROID_HOME/build-tools/28.0.3/apksigner sign --ks debug.keystore --ks-key-alias androiddebugkey --ks-pass "pass:android" --key-pass "pass:android" --in $(find -name "*-green-release-unsigned.apk") --out husky-green-release.apk
- wget https://raw.githubusercontent.com/FWGS/uploadtool/master/upload.sh

Loading…
Cancel
Save