Revert "move compile/target sdk versions to 29 (#62799)" (#62884)

This reverts commit 5b3dc5251b.
This commit is contained in:
Jonah Williams
2020-08-04 11:20:16 -07:00
committed by GitHub
parent 4c7fae93aa
commit e8ad863a08
44 changed files with 86 additions and 86 deletions

View File

@@ -25,7 +25,7 @@ apply plugin: 'com.android.application'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android {
compileSdkVersion 29
compileSdkVersion 28
lintOptions {
disable 'InvalidPackage'
@@ -35,7 +35,7 @@ android {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "{{androidIdentifier}}"
minSdkVersion 16
targetSdkVersion 29
targetSdkVersion 28
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}

View File

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

View File

@@ -3,7 +3,7 @@ def flutterPluginVersion = 'managed'
apply plugin: 'com.android.application'
android {
compileSdkVersion 29
compileSdkVersion 28
compileOptions {
sourceCompatibility 1.8
@@ -13,7 +13,7 @@ android {
defaultConfig {
applicationId "{{androidIdentifier}}.host"
minSdkVersion 16
targetSdkVersion 29
targetSdkVersion 28
versionCode 1
versionName "1.0"
}

View File

@@ -30,11 +30,11 @@ group '{{androidIdentifier}}'
version '1.0'
android {
compileSdkVersion 29
compileSdkVersion 28
defaultConfig {
minSdkVersion 16
targetSdkVersion 29
targetSdkVersion 28
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}

View File

@@ -22,7 +22,7 @@ rootProject.allprojects {
apply plugin: 'com.android.library'
android {
compileSdkVersion 29
compileSdkVersion 28
defaultConfig {
minSdkVersion 16

View File

@@ -25,7 +25,7 @@ apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
android {
compileSdkVersion 29
compileSdkVersion 28
sourceSets {
main.java.srcDirs += 'src/main/kotlin'

View File

@@ -865,7 +865,7 @@ String gradleFileWithApplicationId(String id) {
return '''
apply plugin: 'com.android.application'
android {
compileSdkVersion 29
compileSdkVersion 28
defaultConfig {
applicationId '$id'
@@ -882,7 +882,7 @@ version '1.0-SNAPSHOT'
apply plugin: 'com.android.library'
android {
compileSdkVersion 29
compileSdkVersion 28
}
''';
}