Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
e8ad863a
Unverified
Commit
e8ad863a
authored
Aug 04, 2020
by
Jonah Williams
Committed by
GitHub
Aug 04, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "move compile/target sdk versions to 29 (#62799)" (#62884)
This reverts commit
5b3dc525
.
parent
4c7fae93
Changes
44
Hide whitespace changes
Inline
Side-by-side
Showing
44 changed files
with
86 additions
and
86 deletions
+86
-86
build.gradle
dev/benchmarks/complex_layout/android/app/build.gradle
+2
-2
build.gradle
dev/benchmarks/macrobenchmarks/android/app/build.gradle
+2
-2
build.gradle
dev/benchmarks/microbenchmarks/android/app/build.gradle
+2
-2
build.gradle
...benchmarks/platform_views_layout/android/app/build.gradle
+2
-2
build.gradle
..._views_layout_hybrid_composition/android/app/build.gradle
+2
-2
build.gradle
dev/benchmarks/test_apps/stocks/android/app/build.gradle
+2
-2
build.gradle
...tion_tests/android_custom_host_app/SampleApp/build.gradle
+2
-2
build.gradle
.../android_embedding_v2_smoke_test/android/app/build.gradle
+2
-2
build.gradle
...tion_tests/android_host_app_v2_embedding/app/build.gradle
+2
-2
build.gradle
..._tests/android_semantics_testing/android/app/build.gradle
+2
-2
build.gradle
...reens/splash_screen_kitchen_sink/android/app/build.gradle
+2
-2
build.gradle
...creens/splash_screen_load_rotate/android/app/build.gradle
+2
-2
build.gradle
...reens/splash_screen_trans_rotate/android/app/build.gradle
+2
-2
build.gradle
dev/integration_tests/android_views/android/app/build.gradle
+2
-2
build.gradle
dev/integration_tests/channels/android/app/build.gradle
+2
-2
build.gradle
dev/integration_tests/external_ui/android/app/build.gradle
+2
-2
build.gradle
dev/integration_tests/flavors/android/app/build.gradle
+2
-2
build.gradle
...s/flutter_driver_screenshot_test/android/app/build.gradle
+2
-2
build.gradle
...ntegration_tests/flutter_gallery/android/app/build.gradle
+2
-2
build.gradle
...tests/gradle_deprecated_settings/android/app/build.gradle
+2
-2
build.gradle
...ation_tests/hybrid_android_views/android/app/build.gradle
+2
-2
build.gradle
...egration_tests/image_loading/android/app/bin/build.gradle
+2
-2
build.gradle
dev/integration_tests/image_loading/android/app/build.gradle
+2
-2
build.gradle
...dule_host_with_custom_build_v2_embedding/app/build.gradle
+2
-2
build.gradle
...integration_tests/named_isolates/android/app/build.gradle
+2
-2
build.gradle
dev/integration_tests/non_nullable/android/app/build.gradle
+2
-2
build.gradle
...ation_tests/platform_interaction/android/app/build.gradle
+2
-2
build.gradle
...gration_tests/release_smoke_test/android/app/build.gradle
+2
-2
build.gradle
dev/integration_tests/ui/android/app/build.gradle
+2
-2
build.gradle
dev/manual_tests/android/app/build.gradle
+2
-2
build.gradle
examples/catalog/android/app/build.gradle
+2
-2
build.gradle
examples/flutter_view/android/app/build.gradle
+2
-2
build.gradle
examples/hello_world/android/app/build.gradle
+2
-2
build.gradle
examples/image_list/android/app/build.gradle
+2
-2
build.gradle
examples/layers/android/app/build.gradle
+2
-2
build.gradle
examples/platform_channel/android/app/build.gradle
+2
-2
build.gradle
examples/platform_view/android/app/build.gradle
+2
-2
build.gradle.tmpl
...ols/templates/app/android-java.tmpl/app/build.gradle.tmpl
+2
-2
build.gradle.tmpl
...s/templates/app/android-kotlin.tmpl/app/build.gradle.tmpl
+2
-2
build.gradle.tmpl
...module/android/host_app_common/app.tmpl/build.gradle.tmpl
+2
-2
build.gradle.tmpl
...roid/library_new_embedding/Flutter.tmpl/build.gradle.tmpl
+2
-2
build.gradle.tmpl
...ools/templates/plugin/android-java.tmpl/build.gradle.tmpl
+1
-1
build.gradle.tmpl
...ls/templates/plugin/android-kotlin.tmpl/build.gradle.tmpl
+1
-1
project_test.dart
packages/flutter_tools/test/general.shard/project_test.dart
+2
-2
No files found.
dev/benchmarks/complex_layout/android/app/build.gradle
View file @
e8ad863a
...
...
@@ -19,7 +19,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
compileSdkVersion
2
9
compileSdkVersion
2
8
lintOptions
{
disable
'InvalidPackage'
...
...
@@ -27,7 +27,7 @@ android {
defaultConfig
{
minSdkVersion
16
targetSdkVersion
2
9
targetSdkVersion
2
8
versionCode
1
versionName
"0.0.1"
}
...
...
dev/benchmarks/macrobenchmarks/android/app/build.gradle
View file @
e8ad863a
...
...
@@ -29,7 +29,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
compileSdkVersion
2
9
compileSdkVersion
2
8
lintOptions
{
disable
'InvalidPackage'
...
...
@@ -38,7 +38,7 @@ android {
defaultConfig
{
applicationId
"com.example.macrobenchmarks"
minSdkVersion
16
targetSdkVersion
2
9
targetSdkVersion
2
8
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
}
...
...
dev/benchmarks/microbenchmarks/android/app/build.gradle
View file @
e8ad863a
...
...
@@ -19,7 +19,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
compileSdkVersion
2
9
compileSdkVersion
2
8
lintOptions
{
disable
'InvalidPackage'
...
...
@@ -27,7 +27,7 @@ android {
defaultConfig
{
minSdkVersion
16
targetSdkVersion
2
9
targetSdkVersion
2
8
versionCode
1
versionName
"0.0.1"
}
...
...
dev/benchmarks/platform_views_layout/android/app/build.gradle
View file @
e8ad863a
...
...
@@ -19,7 +19,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
compileSdkVersion
2
9
compileSdkVersion
2
8
lintOptions
{
disable
'InvalidPackage'
...
...
@@ -27,7 +27,7 @@ android {
defaultConfig
{
minSdkVersion
16
targetSdkVersion
2
9
targetSdkVersion
2
8
versionCode
1
versionName
"0.0.1"
}
...
...
dev/benchmarks/platform_views_layout_hybrid_composition/android/app/build.gradle
View file @
e8ad863a
...
...
@@ -19,7 +19,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
compileSdkVersion
2
9
compileSdkVersion
2
8
lintOptions
{
disable
'InvalidPackage'
...
...
@@ -27,7 +27,7 @@ android {
defaultConfig
{
minSdkVersion
16
targetSdkVersion
2
9
targetSdkVersion
2
8
versionCode
1
versionName
"0.0.1"
}
...
...
dev/benchmarks/test_apps/stocks/android/app/build.gradle
View file @
e8ad863a
...
...
@@ -29,7 +29,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
compileSdkVersion
2
9
compileSdkVersion
2
8
lintOptions
{
disable
'InvalidPackage'
...
...
@@ -38,7 +38,7 @@ android {
defaultConfig
{
applicationId
"io.flutter.examples.stocks"
minSdkVersion
16
targetSdkVersion
2
9
targetSdkVersion
2
8
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
}
...
...
dev/integration_tests/android_custom_host_app/SampleApp/build.gradle
View file @
e8ad863a
...
...
@@ -5,7 +5,7 @@
apply
plugin:
'com.android.application'
android
{
compileSdkVersion
2
9
compileSdkVersion
2
8
compileOptions
{
sourceCompatibility
1.8
...
...
@@ -15,7 +15,7 @@ android {
defaultConfig
{
applicationId
"io.flutter.add2app"
minSdkVersion
16
targetSdkVersion
2
9
targetSdkVersion
2
8
versionCode
1
versionName
"1.0"
}
...
...
dev/integration_tests/android_embedding_v2_smoke_test/android/app/build.gradle
View file @
e8ad863a
...
...
@@ -30,7 +30,7 @@ apply plugin: 'kotlin-android'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
compileSdkVersion
2
9
compileSdkVersion
2
8
sourceSets
{
main
.
java
.
srcDirs
+=
'src/main/kotlin'
...
...
@@ -44,7 +44,7 @@ android {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId
"com.example.android_embedding_v2_smoke_test"
minSdkVersion
21
targetSdkVersion
2
9
targetSdkVersion
2
8
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
}
...
...
dev/integration_tests/android_host_app_v2_embedding/app/build.gradle
View file @
e8ad863a
...
...
@@ -5,7 +5,7 @@
apply
plugin:
'com.android.application'
android
{
compileSdkVersion
2
9
compileSdkVersion
2
8
compileOptions
{
sourceCompatibility
1.8
...
...
@@ -15,7 +15,7 @@ android {
defaultConfig
{
applicationId
"io.flutter.add2app"
minSdkVersion
16
targetSdkVersion
2
9
targetSdkVersion
2
8
versionCode
1
versionName
"1.0"
}
...
...
dev/integration_tests/android_semantics_testing/android/app/build.gradle
View file @
e8ad863a
...
...
@@ -19,7 +19,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
compileSdkVersion
2
9
compileSdkVersion
2
8
lintOptions
{
disable
'InvalidPackage'
...
...
@@ -27,7 +27,7 @@ android {
defaultConfig
{
minSdkVersion
16
targetSdkVersion
2
9
targetSdkVersion
2
8
versionCode
1
versionName
"0.0.1"
}
...
...
dev/integration_tests/android_splash_screens/splash_screen_kitchen_sink/android/app/build.gradle
View file @
e8ad863a
...
...
@@ -29,7 +29,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
compileSdkVersion
2
9
compileSdkVersion
2
8
lintOptions
{
disable
'InvalidPackage'
...
...
@@ -39,7 +39,7 @@ android {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId
"io.flutter.splash_screen_kitchen_sink"
minSdkVersion
16
targetSdkVersion
2
9
targetSdkVersion
2
8
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
}
...
...
dev/integration_tests/android_splash_screens/splash_screen_load_rotate/android/app/build.gradle
View file @
e8ad863a
...
...
@@ -29,7 +29,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
compileSdkVersion
2
9
compileSdkVersion
2
8
lintOptions
{
disable
'InvalidPackage'
...
...
@@ -39,7 +39,7 @@ android {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId
"io.flutter.splash_screen_load_rotate"
minSdkVersion
16
targetSdkVersion
2
9
targetSdkVersion
2
8
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
}
...
...
dev/integration_tests/android_splash_screens/splash_screen_trans_rotate/android/app/build.gradle
View file @
e8ad863a
...
...
@@ -29,7 +29,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
compileSdkVersion
2
9
compileSdkVersion
2
8
lintOptions
{
disable
'InvalidPackage'
...
...
@@ -39,7 +39,7 @@ android {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId
"io.flutter.splash_screen_trans_rotate"
minSdkVersion
16
targetSdkVersion
2
9
targetSdkVersion
2
8
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
}
...
...
dev/integration_tests/android_views/android/app/build.gradle
View file @
e8ad863a
...
...
@@ -29,7 +29,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
compileSdkVersion
2
9
compileSdkVersion
2
8
lintOptions
{
disable
'InvalidPackage'
...
...
@@ -39,7 +39,7 @@ android {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId
"io.flutter.integration.platformviews"
minSdkVersion
16
targetSdkVersion
2
9
targetSdkVersion
2
8
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
}
...
...
dev/integration_tests/channels/android/app/build.gradle
View file @
e8ad863a
...
...
@@ -19,7 +19,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
compileSdkVersion
2
9
compileSdkVersion
2
8
lintOptions
{
disable
'InvalidPackage'
...
...
@@ -27,7 +27,7 @@ android {
defaultConfig
{
minSdkVersion
16
targetSdkVersion
2
9
targetSdkVersion
2
8
versionCode
1
versionName
"0.0.1"
}
...
...
dev/integration_tests/external_ui/android/app/build.gradle
View file @
e8ad863a
...
...
@@ -19,7 +19,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
compileSdkVersion
2
9
compileSdkVersion
2
8
lintOptions
{
disable
'InvalidPackage'
...
...
@@ -28,7 +28,7 @@ android {
defaultConfig
{
applicationId
"io.flutter.externalui"
minSdkVersion
16
targetSdkVersion
2
9
targetSdkVersion
2
8
versionCode
1
versionName
"1.0"
}
...
...
dev/integration_tests/flavors/android/app/build.gradle
View file @
e8ad863a
...
...
@@ -19,7 +19,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
compileSdkVersion
2
9
compileSdkVersion
2
8
lintOptions
{
disable
'InvalidPackage'
...
...
@@ -28,7 +28,7 @@ android {
defaultConfig
{
applicationId
"com.yourcompany.flavors"
minSdkVersion
16
targetSdkVersion
2
9
targetSdkVersion
2
8
versionCode
1
versionName
"1.0"
}
...
...
dev/integration_tests/flutter_driver_screenshot_test/android/app/build.gradle
View file @
e8ad863a
...
...
@@ -30,7 +30,7 @@ apply plugin: 'kotlin-android'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
compileSdkVersion
2
9
compileSdkVersion
2
8
sourceSets
{
main
.
java
.
srcDirs
+=
'src/main/kotlin'
...
...
@@ -44,7 +44,7 @@ android {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId
"com.example.screenshot_tests"
minSdkVersion
16
targetSdkVersion
2
9
targetSdkVersion
2
8
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
}
...
...
dev/integration_tests/flutter_gallery/android/app/build.gradle
View file @
e8ad863a
...
...
@@ -40,7 +40,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
compileSdkVersion
2
9
compileSdkVersion
2
8
lintOptions
{
disable
'InvalidPackage'
...
...
@@ -49,7 +49,7 @@ android {
defaultConfig
{
applicationId
"io.flutter.demo.gallery"
minSdkVersion
16
targetSdkVersion
2
9
targetSdkVersion
2
8
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
testInstrumentationRunner
"androidx.test.runner.AndroidJUnitRunner"
...
...
dev/integration_tests/gradle_deprecated_settings/android/app/build.gradle
View file @
e8ad863a
...
...
@@ -19,7 +19,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
compileSdkVersion
2
9
compileSdkVersion
2
8
lintOptions
{
disable
'InvalidPackage'
...
...
@@ -28,7 +28,7 @@ android {
defaultConfig
{
applicationId
"com.yourcompany.flavors"
minSdkVersion
21
targetSdkVersion
2
9
targetSdkVersion
2
8
versionCode
1
versionName
"1.0"
}
...
...
dev/integration_tests/hybrid_android_views/android/app/build.gradle
View file @
e8ad863a
...
...
@@ -29,7 +29,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
compileSdkVersion
2
9
compileSdkVersion
2
8
lintOptions
{
disable
'InvalidPackage'
...
...
@@ -39,7 +39,7 @@ android {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId
"io.flutter.integration.platformviews"
minSdkVersion
16
targetSdkVersion
2
9
targetSdkVersion
2
8
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
}
...
...
dev/integration_tests/image_loading/android/app/bin/build.gradle
View file @
e8ad863a
...
...
@@ -19,7 +19,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
compileSdkVersion
2
9
compileSdkVersion
2
8
lintOptions
{
disable
'InvalidPackage'
...
...
@@ -27,7 +27,7 @@ android {
defaultConfig
{
minSdkVersion
16
targetSdkVersion
2
9
targetSdkVersion
2
8
versionCode
1
versionName
"0.0.1"
}
...
...
dev/integration_tests/image_loading/android/app/build.gradle
View file @
e8ad863a
...
...
@@ -19,7 +19,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
compileSdkVersion
2
9
compileSdkVersion
2
8
lintOptions
{
disable
'InvalidPackage'
...
...
@@ -27,7 +27,7 @@ android {
defaultConfig
{
minSdkVersion
16
targetSdkVersion
2
9
targetSdkVersion
2
8
versionCode
1
versionName
"0.0.1"
}
...
...
dev/integration_tests/module_host_with_custom_build_v2_embedding/app/build.gradle
View file @
e8ad863a
...
...
@@ -5,7 +5,7 @@
apply
plugin:
'com.android.application'
android
{
compileSdkVersion
2
9
compileSdkVersion
2
8
compileOptions
{
sourceCompatibility
1.8
targetCompatibility
1.8
...
...
@@ -13,7 +13,7 @@ android {
defaultConfig
{
applicationId
"io.flutter.addtoapp"
minSdkVersion
16
targetSdkVersion
2
9
targetSdkVersion
2
8
versionCode
1
versionName
"1.0"
}
...
...
dev/integration_tests/named_isolates/android/app/build.gradle
View file @
e8ad863a
...
...
@@ -19,7 +19,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
compileSdkVersion
2
9
compileSdkVersion
2
8
lintOptions
{
disable
'InvalidPackage'
...
...
@@ -28,7 +28,7 @@ android {
defaultConfig
{
applicationId
"io.flutter.examples.named_isolates"
minSdkVersion
16
targetSdkVersion
2
9
targetSdkVersion
2
8
versionCode
1
versionName
"0.0.1"
}
...
...
dev/integration_tests/non_nullable/android/app/build.gradle
View file @
e8ad863a
...
...
@@ -30,7 +30,7 @@ apply plugin: 'kotlin-android'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
compileSdkVersion
2
9
compileSdkVersion
2
8
sourceSets
{
main
.
java
.
srcDirs
+=
'src/main/kotlin'
...
...
@@ -44,7 +44,7 @@ android {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId
"com.example.non_nullable"
minSdkVersion
16
targetSdkVersion
2
9
targetSdkVersion
2
8
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
}
...
...
dev/integration_tests/platform_interaction/android/app/build.gradle
View file @
e8ad863a
...
...
@@ -19,7 +19,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
compileSdkVersion
2
9
compileSdkVersion
2
8
lintOptions
{
disable
'InvalidPackage'
...
...
@@ -27,7 +27,7 @@ android {
defaultConfig
{
minSdkVersion
16
targetSdkVersion
2
9
targetSdkVersion
2
8
versionCode
1
versionName
"0.0.1"
}
...
...
dev/integration_tests/release_smoke_test/android/app/build.gradle
View file @
e8ad863a
...
...
@@ -29,7 +29,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
compileSdkVersion
2
9
compileSdkVersion
2
8
lintOptions
{
disable
'InvalidPackage'
...
...
@@ -39,7 +39,7 @@ android {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId
"com.example.release_smoke_test"
minSdkVersion
16
targetSdkVersion
2
9
targetSdkVersion
2
8
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
testInstrumentationRunner
"androidx.test.runner.AndroidJUnitRunner"
...
...
dev/integration_tests/ui/android/app/build.gradle
View file @
e8ad863a
...
...
@@ -19,7 +19,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
compileSdkVersion
2
9
compileSdkVersion
2
8
lintOptions
{
disable
'InvalidPackage'
...
...
@@ -27,7 +27,7 @@ android {
defaultConfig
{
minSdkVersion
16
targetSdkVersion
2
9
targetSdkVersion
2
8
versionCode
1
versionName
"1.0"
}
...
...
dev/manual_tests/android/app/build.gradle
View file @
e8ad863a
...
...
@@ -30,7 +30,7 @@ apply plugin: 'kotlin-android'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
compileSdkVersion
2
9
compileSdkVersion
2
8
sourceSets
{
main
.
java
.
srcDirs
+=
'src/main/kotlin'
...
...
@@ -44,7 +44,7 @@ android {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId
"com.example.manual_tests"
minSdkVersion
16
targetSdkVersion
2
9
targetSdkVersion
2
8
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
}
...
...
examples/catalog/android/app/build.gradle
View file @
e8ad863a
...
...
@@ -29,7 +29,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
compileSdkVersion
2
9
compileSdkVersion
2
8
lintOptions
{
disable
'InvalidPackage'
...
...
@@ -38,7 +38,7 @@ android {
defaultConfig
{
applicationId
"io.flutter.examples.catalog"
minSdkVersion
16
targetSdkVersion
2
9
targetSdkVersion
2
8
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
}
...
...
examples/flutter_view/android/app/build.gradle
View file @
e8ad863a
...
...
@@ -29,7 +29,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
compileSdkVersion
2
9
compileSdkVersion
2
8
lintOptions
{
disable
'InvalidPackage'
...
...
@@ -38,7 +38,7 @@ android {
defaultConfig
{
applicationId
"io.flutter.examples.flutter_view"
minSdkVersion
16
targetSdkVersion
2
9
targetSdkVersion
2
8
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
}
...
...
examples/hello_world/android/app/build.gradle
View file @
e8ad863a
...
...
@@ -29,7 +29,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
compileSdkVersion
2
9
compileSdkVersion
2
8
lintOptions
{
disable
'InvalidPackage'
...
...
@@ -38,7 +38,7 @@ android {
defaultConfig
{
applicationId
"io.flutter.examples.hello_world"
minSdkVersion
16
targetSdkVersion
2
9
targetSdkVersion
2
8
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
}
...
...
examples/image_list/android/app/build.gradle
View file @
e8ad863a
...
...
@@ -29,7 +29,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
compileSdkVersion
2
9
compileSdkVersion
2
8
lintOptions
{
disable
'InvalidPackage'
...
...
@@ -39,7 +39,7 @@ android {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId
"com.example.image_list"
minSdkVersion
16
targetSdkVersion
2
9
targetSdkVersion
2
8
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
}
...
...
examples/layers/android/app/build.gradle
View file @
e8ad863a
...
...
@@ -29,7 +29,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
compileSdkVersion
2
9
compileSdkVersion
2
8
lintOptions
{
disable
'InvalidPackage'
...
...
@@ -38,7 +38,7 @@ android {
defaultConfig
{
applicationId
"io.flutter.examples.layers"
minSdkVersion
16
targetSdkVersion
2
9
targetSdkVersion
2
8
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
}
...
...
examples/platform_channel/android/app/build.gradle
View file @
e8ad863a
...
...
@@ -29,7 +29,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
compileSdkVersion
2
9
compileSdkVersion
2
8
lintOptions
{
disable
'InvalidPackage'
...
...
@@ -38,7 +38,7 @@ android {
defaultConfig
{
applicationId
"io.flutter.examples.platform_channel"
minSdkVersion
16
targetSdkVersion
2
9
targetSdkVersion
2
8
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
testInstrumentationRunner
"androidx.test.runner.AndroidJUnitRunner"
...
...
examples/platform_view/android/app/build.gradle
View file @
e8ad863a
...
...
@@ -29,7 +29,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
compileSdkVersion
2
9
compileSdkVersion
2
8
lintOptions
{
disable
'InvalidPackage'
...
...
@@ -38,7 +38,7 @@ android {
defaultConfig
{
applicationId
"io.flutter.examples.platform_view"
minSdkVersion
16
targetSdkVersion
2
9
targetSdkVersion
2
8
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
}
...
...
packages/flutter_tools/templates/app/android-java.tmpl/app/build.gradle.tmpl
View file @
e8ad863a
...
...
@@ -25,7 +25,7 @@ apply plugin: 'com.android.application'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android {
compileSdkVersion 2
9
compileSdkVersion 2
8
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 2
9
targetSdkVersion 2
8
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}
...
...
packages/flutter_tools/templates/app/android-kotlin.tmpl/app/build.gradle.tmpl
View file @
e8ad863a
...
...
@@ -26,7 +26,7 @@ apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android {
compileSdkVersion 2
9
compileSdkVersion 2
8
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 2
9
targetSdkVersion 2
8
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}
...
...
packages/flutter_tools/templates/module/android/host_app_common/app.tmpl/build.gradle.tmpl
View file @
e8ad863a
...
...
@@ -3,7 +3,7 @@ def flutterPluginVersion = 'managed'
apply plugin: 'com.android.application'
android {
compileSdkVersion 2
9
compileSdkVersion 2
8
compileOptions {
sourceCompatibility 1.8
...
...
@@ -13,7 +13,7 @@ android {
defaultConfig {
applicationId "{{androidIdentifier}}.host"
minSdkVersion 16
targetSdkVersion 2
9
targetSdkVersion 2
8
versionCode 1
versionName "1.0"
}
...
...
packages/flutter_tools/templates/module/android/library_new_embedding/Flutter.tmpl/build.gradle.tmpl
View file @
e8ad863a
...
...
@@ -30,11 +30,11 @@ group '{{androidIdentifier}}'
version '1.0'
android {
compileSdkVersion 2
9
compileSdkVersion 2
8
defaultConfig {
minSdkVersion 16
targetSdkVersion 2
9
targetSdkVersion 2
8
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}
...
...
packages/flutter_tools/templates/plugin/android-java.tmpl/build.gradle.tmpl
View file @
e8ad863a
...
...
@@ -22,7 +22,7 @@ rootProject.allprojects {
apply plugin: 'com.android.library'
android {
compileSdkVersion 2
9
compileSdkVersion 2
8
defaultConfig {
minSdkVersion 16
...
...
packages/flutter_tools/templates/plugin/android-kotlin.tmpl/build.gradle.tmpl
View file @
e8ad863a
...
...
@@ -25,7 +25,7 @@ apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
android {
compileSdkVersion 2
9
compileSdkVersion 2
8
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
...
...
packages/flutter_tools/test/general.shard/project_test.dart
View file @
e8ad863a
...
...
@@ -865,7 +865,7 @@ String gradleFileWithApplicationId(String id) {
return
'''
apply plugin: '
com
.
android
.
application
'
android {
compileSdkVersion 2
9
compileSdkVersion 2
8
defaultConfig {
applicationId '
$id
'
...
...
@@ -882,7 +882,7 @@ version '1.0-SNAPSHOT'
apply plugin: '
com
.
android
.
library
'
android {
compileSdkVersion 2
9
compileSdkVersion 2
8
}
'''
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment