1
0
mirror of https://github.com/flutter/samples.git synced 2026-05-23 07:29:07 +00:00

Update Android files in navigation_and_routing (bookstore) (#1019)

This commit is contained in:
Miguel Beltran
2022-02-20 10:36:53 +01:00
committed by GitHub
parent 210029024d
commit 2714e8ccba
6 changed files with 24 additions and 28 deletions

View File

@@ -26,7 +26,16 @@ apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android {
compileSdkVersion 30
compileSdkVersion flutter.compileSdkVersion
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
@@ -35,8 +44,8 @@ android {
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "dev.flutter.bookstore"
minSdkVersion 16
targetSdkVersion 30
minSdkVersion flutter.minSdkVersion
targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}