Be more selective with the configuration of gradle.properties in CI

This commit is contained in:
tzugen 2021-05-20 08:12:29 +02:00
parent ab4c2c1bbe
commit b0b03c0fe0
No known key found for this signature in database
GPG Key ID: 61E9C34BC10EC930
1 changed files with 4 additions and 2 deletions

View File

@ -14,8 +14,10 @@ jobs:
- v1-ultrasonic-{{ .Branch }}
- v1-ultrasonic
- run:
name: clean gradle.properties
command: echo -e "android.useAndroidX=true\nandroid.enableJetifier=true\norg.gradle.daemon=false\n" > gradle.properties
name: configure gradle.properties for CI building
command: |
sed -i '/^org.gradle.jvmargs/d' gradle.properties
sed -i 's/^org.gradle.daemon=true/org.gradle.daemon=false/g' gradle.properties
- run:
name: checkstyle
command: ./gradlew -Pqc ktlintCheck