Fix Travis build (maybe)

This commit is contained in:
Jakob Nixdorf 2019-06-11 10:07:13 +02:00
parent 1606869ea3
commit 5dcdcd4445
No known key found for this signature in database
GPG key ID: BE99BF86574A7DBC

View file

@ -6,21 +6,19 @@ android:
- platform-tools - platform-tools
- tools - tools
- build-tools-27.0.3 - build-tools-28.0.3
- android-27 - android-28
- extra-google-m2repository - extra-google-m2repository
- extra-android-m2repository - extra-android-m2repository
licenses:
- 'android-sdk-preview-license-52d11cd2'
- 'android-sdk-license-.+'
- 'google-gdk-license-.+'
jdk: jdk:
- oraclejdk8 - oraclejdk8
before_install:
- mkdir "$ANDROID_HOME/licenses" || true
- echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > "$ANDROID_HOME/licenses/android-sdk-license"
- echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "$ANDROID_HOME/licenses/android-sdk-preview-license"
- yes | sdkmanager "platforms;android-27"
script: script:
- ./gradlew build - ./gradlew build