|
|
|
@@ -26,7 +26,7 @@ apply plugin: 'kotlin-android' |
|
|
|
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" |
|
|
|
|
|
|
|
android { |
|
|
|
compileSdkVersion 28 |
|
|
|
compileSdkVersion 30 |
|
|
|
|
|
|
|
sourceSets { |
|
|
|
main.java.srcDirs += 'src/main/kotlin' |
|
|
|
@@ -37,10 +37,9 @@ android { |
|
|
|
} |
|
|
|
|
|
|
|
defaultConfig { |
|
|
|
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). |
|
|
|
applicationId "net.touchcapture.qr.flutterqrexample" |
|
|
|
minSdkVersion 19 |
|
|
|
targetSdkVersion 27 |
|
|
|
targetSdkVersion 30 |
|
|
|
versionCode flutterVersionCode.toInteger() |
|
|
|
versionName flutterVersionName |
|
|
|
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" |
|
|
|
@@ -48,7 +47,6 @@ android { |
|
|
|
|
|
|
|
buildTypes { |
|
|
|
release { |
|
|
|
// TODO: Add your own signing config for the release build. |
|
|
|
// Signing with the debug keys for now, so `flutter run --release` works. |
|
|
|
signingConfig signingConfigs.debug |
|
|
|
} |
|
|
|
@@ -61,7 +59,7 @@ flutter { |
|
|
|
|
|
|
|
dependencies { |
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" |
|
|
|
testImplementation 'junit:junit:4.12' |
|
|
|
testImplementation 'junit:junit:4.13.1' |
|
|
|
androidTestImplementation 'com.android.support.test:runner:1.0.2' |
|
|
|
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' |
|
|
|
} |