Migrate template to Gradle 6.7 and AGP 4.1.0 (#70808)

This commit is contained in:
Emmanuel Garcia
2020-11-20 13:05:35 -08:00
committed by GitHub
parent 1e0628001e
commit 8e73bab94c
170 changed files with 353 additions and 746 deletions

View File

@@ -30,21 +30,17 @@ apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android {
compileSdkVersion 29
compileSdkVersion 30
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
lintOptions {
disable 'InvalidPackage'
}
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.example.non_nullable"
minSdkVersion 16
targetSdkVersion 29
targetSdkVersion 30
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}