Skip to content

Commit

Permalink
feat: update target platform to Android 11
Browse files Browse the repository at this point in the history
  • Loading branch information
SlayerOrnstein committed Oct 13, 2020
1 parent 23e6900 commit 9a0a1c1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 14 deletions.
13 changes: 3 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
5 changes: 2 additions & 3 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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
}
Expand Down Expand Up @@ -72,7 +72,6 @@ android {
sourceCompatibility "1.8"
targetCompatibility "1.8"
}
buildToolsVersion '29.0.3'
}

flutter {
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
buildscript {
ext.kotlin_version = '1.3.72'
ext.kotlin_version = '1.4.10'
repositories {
google()
jcenter()
Expand Down

0 comments on commit 9a0a1c1

Please sign in to comment.