From 79593bd288f20f4f535666370fcc6ddbfa50124f Mon Sep 17 00:00:00 2001 From: Varakh Date: Sat, 8 May 2021 14:53:12 +0200 Subject: [PATCH] Use JDK Switcher to switch to OpenJDK8 in bionic image of Travis CI --- .travis.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index b9c5409..cc3197d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,6 +8,9 @@ addons: env: global: - FLUTTER_CHANNEL=stable + - ANDROID_API_LEVEL=28 + - ANDROID_BUILD_TOOLS_VERSION=28.0.3 + - ANDROID_ABI=armeabi-v7a install: - git clone https://github.com/flutter/flutter.git -b $FLUTTER_CHANNEL - export PATH=$(pwd)/flutter/bin:$PATH @@ -26,10 +29,11 @@ build: &build language: android android: components: + - tools - tools - platform-tools - - build-tools-29 - - android-29 + - build-tools-28.0.3 + - android-28 before_script: - export BUILD_NAME=$TRAVIS_TAG - export BUILD_NUMBER=$TRAVIS_BUILD_NUMBER