From 9a0a1c1aeafe7bcf57a46ff14f3c258f4b35e3dc Mon Sep 17 00:00:00 2001 From: SlayerOrnstein Date: Tue, 13 Oct 2020 03:02:10 -0400 Subject: [PATCH] feat: update target platform to Android 11 --- .travis.yml | 13 +++---------- android/app/build.gradle | 5 ++--- android/build.gradle | 2 +- 3 files changed, 6 insertions(+), 14 deletions(-) diff --git a/.travis.yml b/.travis.yml index a04f9fbea..a0c8d0ee6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,12 +33,6 @@ matrix: language: android env: JOB=TEST if: NOT tag IS present - android: - components: - - build-tools-28.0.3 - - android-28 - - build-tools-29.0.3 - - android-29 script: - flutter pub get - flutter test @@ -79,8 +73,8 @@ matrix: components: - build-tools-28.0.3 - android-28 - - build-tools-29.0.3 - - android-29 + before_script: + - yes | sdkmanager "platforms;android-30" script: - flutter build apk --target-platform android-arm - os: osx @@ -103,10 +97,9 @@ matrix: components: - build-tools-28.0.3 - android-28 - - build-tools-29.0.3 - - android-29 install: - bundle install --gemfile=android/Gemfile + - yes | sdkmanager "platforms;android-30" script: - flutter clean - flutter build appbundle diff --git a/android/app/build.gradle b/android/app/build.gradle index a4082d948..f0d1aae04 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -30,7 +30,7 @@ def keystoreProperties = new Properties() keystoreProperties.load(new FileInputStream(keystorePropertiesFile)) android { - compileSdkVersion 29 + compileSdkVersion 30 sourceSets { main.java.srcDirs += 'src/main/kotlin' @@ -44,7 +44,7 @@ android { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "com.cephalon.navis" minSdkVersion 16 - targetSdkVersion 29 + targetSdkVersion 30 versionCode flutterVersionCode.toInteger() versionName flutterVersionName } @@ -72,7 +72,6 @@ android { sourceCompatibility "1.8" targetCompatibility "1.8" } - buildToolsVersion '29.0.3' } flutter { diff --git a/android/build.gradle b/android/build.gradle index 9a8ad1f08..9694ceea5 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,5 +1,5 @@ buildscript { - ext.kotlin_version = '1.3.72' + ext.kotlin_version = '1.4.10' repositories { google() jcenter()