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
df8e537f
Unverified
Commit
df8e537f
authored
Aug 11, 2020
by
xster
Committed by
GitHub
Aug 11, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move compile/target sdk versions to 29 (#62799) (#63008)
parent
54cdb6fc
Changes
43
Hide whitespace changes
Inline
Side-by-side
Showing
43 changed files
with
84 additions
and
84 deletions
+84
-84
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
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 @
df8e537f
...
@@ -19,7 +19,7 @@ apply plugin: 'com.android.application'
...
@@ -19,7 +19,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
android
{
compileSdkVersion
2
8
compileSdkVersion
2
9
lintOptions
{
lintOptions
{
disable
'InvalidPackage'
disable
'InvalidPackage'
...
@@ -27,7 +27,7 @@ android {
...
@@ -27,7 +27,7 @@ android {
defaultConfig
{
defaultConfig
{
minSdkVersion
16
minSdkVersion
16
targetSdkVersion
2
8
targetSdkVersion
2
9
versionCode
1
versionCode
1
versionName
"0.0.1"
versionName
"0.0.1"
}
}
...
...
dev/benchmarks/macrobenchmarks/android/app/build.gradle
View file @
df8e537f
...
@@ -29,7 +29,7 @@ apply plugin: 'com.android.application'
...
@@ -29,7 +29,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
android
{
compileSdkVersion
2
8
compileSdkVersion
2
9
lintOptions
{
lintOptions
{
disable
'InvalidPackage'
disable
'InvalidPackage'
...
@@ -38,7 +38,7 @@ android {
...
@@ -38,7 +38,7 @@ android {
defaultConfig
{
defaultConfig
{
applicationId
"com.example.macrobenchmarks"
applicationId
"com.example.macrobenchmarks"
minSdkVersion
16
minSdkVersion
16
targetSdkVersion
2
8
targetSdkVersion
2
9
versionCode
flutterVersionCode
.
toInteger
()
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
versionName
flutterVersionName
testInstrumentationRunner
"androidx.test.runner.AndroidJUnitRunner"
testInstrumentationRunner
"androidx.test.runner.AndroidJUnitRunner"
...
...
dev/benchmarks/microbenchmarks/android/app/build.gradle
View file @
df8e537f
...
@@ -19,7 +19,7 @@ apply plugin: 'com.android.application'
...
@@ -19,7 +19,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
android
{
compileSdkVersion
2
8
compileSdkVersion
2
9
lintOptions
{
lintOptions
{
disable
'InvalidPackage'
disable
'InvalidPackage'
...
@@ -27,7 +27,7 @@ android {
...
@@ -27,7 +27,7 @@ android {
defaultConfig
{
defaultConfig
{
minSdkVersion
16
minSdkVersion
16
targetSdkVersion
2
8
targetSdkVersion
2
9
versionCode
1
versionCode
1
versionName
"0.0.1"
versionName
"0.0.1"
}
}
...
...
dev/benchmarks/platform_views_layout/android/app/build.gradle
View file @
df8e537f
...
@@ -19,7 +19,7 @@ apply plugin: 'com.android.application'
...
@@ -19,7 +19,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
android
{
compileSdkVersion
2
8
compileSdkVersion
2
9
lintOptions
{
lintOptions
{
disable
'InvalidPackage'
disable
'InvalidPackage'
...
@@ -27,7 +27,7 @@ android {
...
@@ -27,7 +27,7 @@ android {
defaultConfig
{
defaultConfig
{
minSdkVersion
16
minSdkVersion
16
targetSdkVersion
2
8
targetSdkVersion
2
9
versionCode
1
versionCode
1
versionName
"0.0.1"
versionName
"0.0.1"
}
}
...
...
dev/benchmarks/platform_views_layout_hybrid_composition/android/app/build.gradle
View file @
df8e537f
...
@@ -19,7 +19,7 @@ apply plugin: 'com.android.application'
...
@@ -19,7 +19,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
android
{
compileSdkVersion
2
8
compileSdkVersion
2
9
lintOptions
{
lintOptions
{
disable
'InvalidPackage'
disable
'InvalidPackage'
...
@@ -27,7 +27,7 @@ android {
...
@@ -27,7 +27,7 @@ android {
defaultConfig
{
defaultConfig
{
minSdkVersion
16
minSdkVersion
16
targetSdkVersion
2
8
targetSdkVersion
2
9
versionCode
1
versionCode
1
versionName
"0.0.1"
versionName
"0.0.1"
}
}
...
...
dev/benchmarks/test_apps/stocks/android/app/build.gradle
View file @
df8e537f
...
@@ -29,7 +29,7 @@ apply plugin: 'com.android.application'
...
@@ -29,7 +29,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
android
{
compileSdkVersion
2
8
compileSdkVersion
2
9
lintOptions
{
lintOptions
{
disable
'InvalidPackage'
disable
'InvalidPackage'
...
@@ -38,7 +38,7 @@ android {
...
@@ -38,7 +38,7 @@ android {
defaultConfig
{
defaultConfig
{
applicationId
"io.flutter.examples.stocks"
applicationId
"io.flutter.examples.stocks"
minSdkVersion
16
minSdkVersion
16
targetSdkVersion
2
8
targetSdkVersion
2
9
versionCode
flutterVersionCode
.
toInteger
()
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
versionName
flutterVersionName
}
}
...
...
dev/integration_tests/android_custom_host_app/SampleApp/build.gradle
View file @
df8e537f
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
apply
plugin:
'com.android.application'
apply
plugin:
'com.android.application'
android
{
android
{
compileSdkVersion
2
8
compileSdkVersion
2
9
compileOptions
{
compileOptions
{
sourceCompatibility
1.8
sourceCompatibility
1.8
...
@@ -15,7 +15,7 @@ android {
...
@@ -15,7 +15,7 @@ android {
defaultConfig
{
defaultConfig
{
applicationId
"io.flutter.add2app"
applicationId
"io.flutter.add2app"
minSdkVersion
16
minSdkVersion
16
targetSdkVersion
2
8
targetSdkVersion
2
9
versionCode
1
versionCode
1
versionName
"1.0"
versionName
"1.0"
}
}
...
...
dev/integration_tests/android_embedding_v2_smoke_test/android/app/build.gradle
View file @
df8e537f
...
@@ -30,7 +30,7 @@ apply plugin: 'kotlin-android'
...
@@ -30,7 +30,7 @@ apply plugin: 'kotlin-android'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
android
{
compileSdkVersion
2
8
compileSdkVersion
2
9
sourceSets
{
sourceSets
{
main
.
java
.
srcDirs
+=
'src/main/kotlin'
main
.
java
.
srcDirs
+=
'src/main/kotlin'
...
@@ -44,7 +44,7 @@ android {
...
@@ -44,7 +44,7 @@ android {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId
"com.example.android_embedding_v2_smoke_test"
applicationId
"com.example.android_embedding_v2_smoke_test"
minSdkVersion
21
minSdkVersion
21
targetSdkVersion
2
8
targetSdkVersion
2
9
versionCode
flutterVersionCode
.
toInteger
()
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
versionName
flutterVersionName
}
}
...
...
dev/integration_tests/android_host_app_v2_embedding/app/build.gradle
View file @
df8e537f
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
apply
plugin:
'com.android.application'
apply
plugin:
'com.android.application'
android
{
android
{
compileSdkVersion
2
8
compileSdkVersion
2
9
compileOptions
{
compileOptions
{
sourceCompatibility
1.8
sourceCompatibility
1.8
...
@@ -15,7 +15,7 @@ android {
...
@@ -15,7 +15,7 @@ android {
defaultConfig
{
defaultConfig
{
applicationId
"io.flutter.add2app"
applicationId
"io.flutter.add2app"
minSdkVersion
16
minSdkVersion
16
targetSdkVersion
2
8
targetSdkVersion
2
9
versionCode
1
versionCode
1
versionName
"1.0"
versionName
"1.0"
}
}
...
...
dev/integration_tests/android_semantics_testing/android/app/build.gradle
View file @
df8e537f
...
@@ -19,7 +19,7 @@ apply plugin: 'com.android.application'
...
@@ -19,7 +19,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
android
{
compileSdkVersion
2
8
compileSdkVersion
2
9
lintOptions
{
lintOptions
{
disable
'InvalidPackage'
disable
'InvalidPackage'
...
@@ -27,7 +27,7 @@ android {
...
@@ -27,7 +27,7 @@ android {
defaultConfig
{
defaultConfig
{
minSdkVersion
16
minSdkVersion
16
targetSdkVersion
2
8
targetSdkVersion
2
9
versionCode
1
versionCode
1
versionName
"0.0.1"
versionName
"0.0.1"
}
}
...
...
dev/integration_tests/android_splash_screens/splash_screen_kitchen_sink/android/app/build.gradle
View file @
df8e537f
...
@@ -29,7 +29,7 @@ apply plugin: 'com.android.application'
...
@@ -29,7 +29,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
android
{
compileSdkVersion
2
8
compileSdkVersion
2
9
lintOptions
{
lintOptions
{
disable
'InvalidPackage'
disable
'InvalidPackage'
...
@@ -39,7 +39,7 @@ android {
...
@@ -39,7 +39,7 @@ android {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId
"io.flutter.splash_screen_kitchen_sink"
applicationId
"io.flutter.splash_screen_kitchen_sink"
minSdkVersion
16
minSdkVersion
16
targetSdkVersion
2
8
targetSdkVersion
2
9
versionCode
flutterVersionCode
.
toInteger
()
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
versionName
flutterVersionName
}
}
...
...
dev/integration_tests/android_splash_screens/splash_screen_load_rotate/android/app/build.gradle
View file @
df8e537f
...
@@ -29,7 +29,7 @@ apply plugin: 'com.android.application'
...
@@ -29,7 +29,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
android
{
compileSdkVersion
2
8
compileSdkVersion
2
9
lintOptions
{
lintOptions
{
disable
'InvalidPackage'
disable
'InvalidPackage'
...
@@ -39,7 +39,7 @@ android {
...
@@ -39,7 +39,7 @@ android {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId
"io.flutter.splash_screen_load_rotate"
applicationId
"io.flutter.splash_screen_load_rotate"
minSdkVersion
16
minSdkVersion
16
targetSdkVersion
2
8
targetSdkVersion
2
9
versionCode
flutterVersionCode
.
toInteger
()
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
versionName
flutterVersionName
}
}
...
...
dev/integration_tests/android_splash_screens/splash_screen_trans_rotate/android/app/build.gradle
View file @
df8e537f
...
@@ -29,7 +29,7 @@ apply plugin: 'com.android.application'
...
@@ -29,7 +29,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
android
{
compileSdkVersion
2
8
compileSdkVersion
2
9
lintOptions
{
lintOptions
{
disable
'InvalidPackage'
disable
'InvalidPackage'
...
@@ -39,7 +39,7 @@ android {
...
@@ -39,7 +39,7 @@ android {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId
"io.flutter.splash_screen_trans_rotate"
applicationId
"io.flutter.splash_screen_trans_rotate"
minSdkVersion
16
minSdkVersion
16
targetSdkVersion
2
8
targetSdkVersion
2
9
versionCode
flutterVersionCode
.
toInteger
()
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
versionName
flutterVersionName
}
}
...
...
dev/integration_tests/android_views/android/app/build.gradle
View file @
df8e537f
...
@@ -29,7 +29,7 @@ apply plugin: 'com.android.application'
...
@@ -29,7 +29,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
android
{
compileSdkVersion
2
8
compileSdkVersion
2
9
lintOptions
{
lintOptions
{
disable
'InvalidPackage'
disable
'InvalidPackage'
...
@@ -39,7 +39,7 @@ android {
...
@@ -39,7 +39,7 @@ android {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId
"io.flutter.integration.platformviews"
applicationId
"io.flutter.integration.platformviews"
minSdkVersion
16
minSdkVersion
16
targetSdkVersion
2
8
targetSdkVersion
2
9
versionCode
flutterVersionCode
.
toInteger
()
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
versionName
flutterVersionName
}
}
...
...
dev/integration_tests/channels/android/app/build.gradle
View file @
df8e537f
...
@@ -19,7 +19,7 @@ apply plugin: 'com.android.application'
...
@@ -19,7 +19,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
android
{
compileSdkVersion
2
8
compileSdkVersion
2
9
lintOptions
{
lintOptions
{
disable
'InvalidPackage'
disable
'InvalidPackage'
...
@@ -27,7 +27,7 @@ android {
...
@@ -27,7 +27,7 @@ android {
defaultConfig
{
defaultConfig
{
minSdkVersion
16
minSdkVersion
16
targetSdkVersion
2
8
targetSdkVersion
2
9
versionCode
1
versionCode
1
versionName
"0.0.1"
versionName
"0.0.1"
}
}
...
...
dev/integration_tests/external_ui/android/app/build.gradle
View file @
df8e537f
...
@@ -19,7 +19,7 @@ apply plugin: 'com.android.application'
...
@@ -19,7 +19,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
android
{
compileSdkVersion
2
8
compileSdkVersion
2
9
lintOptions
{
lintOptions
{
disable
'InvalidPackage'
disable
'InvalidPackage'
...
@@ -28,7 +28,7 @@ android {
...
@@ -28,7 +28,7 @@ android {
defaultConfig
{
defaultConfig
{
applicationId
"io.flutter.externalui"
applicationId
"io.flutter.externalui"
minSdkVersion
16
minSdkVersion
16
targetSdkVersion
2
8
targetSdkVersion
2
9
versionCode
1
versionCode
1
versionName
"1.0"
versionName
"1.0"
}
}
...
...
dev/integration_tests/flavors/android/app/build.gradle
View file @
df8e537f
...
@@ -19,7 +19,7 @@ apply plugin: 'com.android.application'
...
@@ -19,7 +19,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
android
{
compileSdkVersion
2
8
compileSdkVersion
2
9
lintOptions
{
lintOptions
{
disable
'InvalidPackage'
disable
'InvalidPackage'
...
@@ -28,7 +28,7 @@ android {
...
@@ -28,7 +28,7 @@ android {
defaultConfig
{
defaultConfig
{
applicationId
"com.yourcompany.flavors"
applicationId
"com.yourcompany.flavors"
minSdkVersion
16
minSdkVersion
16
targetSdkVersion
2
8
targetSdkVersion
2
9
versionCode
1
versionCode
1
versionName
"1.0"
versionName
"1.0"
}
}
...
...
dev/integration_tests/flutter_driver_screenshot_test/android/app/build.gradle
View file @
df8e537f
...
@@ -30,7 +30,7 @@ apply plugin: 'kotlin-android'
...
@@ -30,7 +30,7 @@ apply plugin: 'kotlin-android'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
android
{
compileSdkVersion
2
8
compileSdkVersion
2
9
sourceSets
{
sourceSets
{
main
.
java
.
srcDirs
+=
'src/main/kotlin'
main
.
java
.
srcDirs
+=
'src/main/kotlin'
...
@@ -44,7 +44,7 @@ android {
...
@@ -44,7 +44,7 @@ android {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId
"com.example.screenshot_tests"
applicationId
"com.example.screenshot_tests"
minSdkVersion
16
minSdkVersion
16
targetSdkVersion
2
8
targetSdkVersion
2
9
versionCode
flutterVersionCode
.
toInteger
()
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
versionName
flutterVersionName
}
}
...
...
dev/integration_tests/flutter_gallery/android/app/build.gradle
View file @
df8e537f
...
@@ -40,7 +40,7 @@ apply plugin: 'com.android.application'
...
@@ -40,7 +40,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
android
{
compileSdkVersion
2
8
compileSdkVersion
2
9
lintOptions
{
lintOptions
{
disable
'InvalidPackage'
disable
'InvalidPackage'
...
@@ -49,7 +49,7 @@ android {
...
@@ -49,7 +49,7 @@ android {
defaultConfig
{
defaultConfig
{
applicationId
"io.flutter.demo.gallery"
applicationId
"io.flutter.demo.gallery"
minSdkVersion
16
minSdkVersion
16
targetSdkVersion
2
8
targetSdkVersion
2
9
versionCode
flutterVersionCode
.
toInteger
()
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
versionName
flutterVersionName
testInstrumentationRunner
"androidx.test.runner.AndroidJUnitRunner"
testInstrumentationRunner
"androidx.test.runner.AndroidJUnitRunner"
...
...
dev/integration_tests/gradle_deprecated_settings/android/app/build.gradle
View file @
df8e537f
...
@@ -19,7 +19,7 @@ apply plugin: 'com.android.application'
...
@@ -19,7 +19,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
android
{
compileSdkVersion
2
8
compileSdkVersion
2
9
lintOptions
{
lintOptions
{
disable
'InvalidPackage'
disable
'InvalidPackage'
...
@@ -28,7 +28,7 @@ android {
...
@@ -28,7 +28,7 @@ android {
defaultConfig
{
defaultConfig
{
applicationId
"com.yourcompany.flavors"
applicationId
"com.yourcompany.flavors"
minSdkVersion
21
minSdkVersion
21
targetSdkVersion
2
8
targetSdkVersion
2
9
versionCode
1
versionCode
1
versionName
"1.0"
versionName
"1.0"
}
}
...
...
dev/integration_tests/hybrid_android_views/android/app/build.gradle
View file @
df8e537f
...
@@ -29,7 +29,7 @@ apply plugin: 'com.android.application'
...
@@ -29,7 +29,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
android
{
compileSdkVersion
2
8
compileSdkVersion
2
9
lintOptions
{
lintOptions
{
disable
'InvalidPackage'
disable
'InvalidPackage'
...
@@ -39,7 +39,7 @@ android {
...
@@ -39,7 +39,7 @@ android {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId
"io.flutter.integration.platformviews"
applicationId
"io.flutter.integration.platformviews"
minSdkVersion
16
minSdkVersion
16
targetSdkVersion
2
8
targetSdkVersion
2
9
versionCode
flutterVersionCode
.
toInteger
()
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
versionName
flutterVersionName
}
}
...
...
dev/integration_tests/image_loading/android/app/bin/build.gradle
View file @
df8e537f
...
@@ -19,7 +19,7 @@ apply plugin: 'com.android.application'
...
@@ -19,7 +19,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
android
{
compileSdkVersion
2
8
compileSdkVersion
2
9
lintOptions
{
lintOptions
{
disable
'InvalidPackage'
disable
'InvalidPackage'
...
@@ -27,7 +27,7 @@ android {
...
@@ -27,7 +27,7 @@ android {
defaultConfig
{
defaultConfig
{
minSdkVersion
16
minSdkVersion
16
targetSdkVersion
2
8
targetSdkVersion
2
9
versionCode
1
versionCode
1
versionName
"0.0.1"
versionName
"0.0.1"
}
}
...
...
dev/integration_tests/image_loading/android/app/build.gradle
View file @
df8e537f
...
@@ -19,7 +19,7 @@ apply plugin: 'com.android.application'
...
@@ -19,7 +19,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
android
{
compileSdkVersion
2
8
compileSdkVersion
2
9
lintOptions
{
lintOptions
{
disable
'InvalidPackage'
disable
'InvalidPackage'
...
@@ -27,7 +27,7 @@ android {
...
@@ -27,7 +27,7 @@ android {
defaultConfig
{
defaultConfig
{
minSdkVersion
16
minSdkVersion
16
targetSdkVersion
2
8
targetSdkVersion
2
9
versionCode
1
versionCode
1
versionName
"0.0.1"
versionName
"0.0.1"
}
}
...
...
dev/integration_tests/module_host_with_custom_build_v2_embedding/app/build.gradle
View file @
df8e537f
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
apply
plugin:
'com.android.application'
apply
plugin:
'com.android.application'
android
{
android
{
compileSdkVersion
2
8
compileSdkVersion
2
9
compileOptions
{
compileOptions
{
sourceCompatibility
1.8
sourceCompatibility
1.8
targetCompatibility
1.8
targetCompatibility
1.8
...
@@ -13,7 +13,7 @@ android {
...
@@ -13,7 +13,7 @@ android {
defaultConfig
{
defaultConfig
{
applicationId
"io.flutter.addtoapp"
applicationId
"io.flutter.addtoapp"
minSdkVersion
16
minSdkVersion
16
targetSdkVersion
2
8
targetSdkVersion
2
9
versionCode
1
versionCode
1
versionName
"1.0"
versionName
"1.0"
}
}
...
...
dev/integration_tests/non_nullable/android/app/build.gradle
View file @
df8e537f
...
@@ -30,7 +30,7 @@ apply plugin: 'kotlin-android'
...
@@ -30,7 +30,7 @@ apply plugin: 'kotlin-android'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
android
{
compileSdkVersion
2
8
compileSdkVersion
2
9
sourceSets
{
sourceSets
{
main
.
java
.
srcDirs
+=
'src/main/kotlin'
main
.
java
.
srcDirs
+=
'src/main/kotlin'
...
@@ -44,7 +44,7 @@ android {
...
@@ -44,7 +44,7 @@ android {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId
"com.example.non_nullable"
applicationId
"com.example.non_nullable"
minSdkVersion
16
minSdkVersion
16
targetSdkVersion
2
8
targetSdkVersion
2
9
versionCode
flutterVersionCode
.
toInteger
()
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
versionName
flutterVersionName
}
}
...
...
dev/integration_tests/platform_interaction/android/app/build.gradle
View file @
df8e537f
...
@@ -19,7 +19,7 @@ apply plugin: 'com.android.application'
...
@@ -19,7 +19,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
android
{
compileSdkVersion
2
8
compileSdkVersion
2
9
lintOptions
{
lintOptions
{
disable
'InvalidPackage'
disable
'InvalidPackage'
...
@@ -27,7 +27,7 @@ android {
...
@@ -27,7 +27,7 @@ android {
defaultConfig
{
defaultConfig
{
minSdkVersion
16
minSdkVersion
16
targetSdkVersion
2
8
targetSdkVersion
2
9
versionCode
1
versionCode
1
versionName
"0.0.1"
versionName
"0.0.1"
}
}
...
...
dev/integration_tests/release_smoke_test/android/app/build.gradle
View file @
df8e537f
...
@@ -29,7 +29,7 @@ apply plugin: 'com.android.application'
...
@@ -29,7 +29,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
android
{
compileSdkVersion
2
8
compileSdkVersion
2
9
lintOptions
{
lintOptions
{
disable
'InvalidPackage'
disable
'InvalidPackage'
...
@@ -39,7 +39,7 @@ android {
...
@@ -39,7 +39,7 @@ android {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId
"com.example.release_smoke_test"
applicationId
"com.example.release_smoke_test"
minSdkVersion
16
minSdkVersion
16
targetSdkVersion
2
8
targetSdkVersion
2
9
versionCode
flutterVersionCode
.
toInteger
()
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
versionName
flutterVersionName
testInstrumentationRunner
"androidx.test.runner.AndroidJUnitRunner"
testInstrumentationRunner
"androidx.test.runner.AndroidJUnitRunner"
...
...
dev/integration_tests/ui/android/app/build.gradle
View file @
df8e537f
...
@@ -19,7 +19,7 @@ apply plugin: 'com.android.application'
...
@@ -19,7 +19,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
android
{
compileSdkVersion
2
8
compileSdkVersion
2
9
lintOptions
{
lintOptions
{
disable
'InvalidPackage'
disable
'InvalidPackage'
...
@@ -27,7 +27,7 @@ android {
...
@@ -27,7 +27,7 @@ android {
defaultConfig
{
defaultConfig
{
minSdkVersion
16
minSdkVersion
16
targetSdkVersion
2
8
targetSdkVersion
2
9
versionCode
1
versionCode
1
versionName
"1.0"
versionName
"1.0"
}
}
...
...
dev/manual_tests/android/app/build.gradle
View file @
df8e537f
...
@@ -30,7 +30,7 @@ apply plugin: 'kotlin-android'
...
@@ -30,7 +30,7 @@ apply plugin: 'kotlin-android'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
android
{
compileSdkVersion
2
8
compileSdkVersion
2
9
sourceSets
{
sourceSets
{
main
.
java
.
srcDirs
+=
'src/main/kotlin'
main
.
java
.
srcDirs
+=
'src/main/kotlin'
...
@@ -44,7 +44,7 @@ android {
...
@@ -44,7 +44,7 @@ android {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId
"com.example.manual_tests"
applicationId
"com.example.manual_tests"
minSdkVersion
16
minSdkVersion
16
targetSdkVersion
2
8
targetSdkVersion
2
9
versionCode
flutterVersionCode
.
toInteger
()
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
versionName
flutterVersionName
}
}
...
...
examples/catalog/android/app/build.gradle
View file @
df8e537f
...
@@ -29,7 +29,7 @@ apply plugin: 'com.android.application'
...
@@ -29,7 +29,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
android
{
compileSdkVersion
2
8
compileSdkVersion
2
9
lintOptions
{
lintOptions
{
disable
'InvalidPackage'
disable
'InvalidPackage'
...
@@ -38,7 +38,7 @@ android {
...
@@ -38,7 +38,7 @@ android {
defaultConfig
{
defaultConfig
{
applicationId
"io.flutter.examples.catalog"
applicationId
"io.flutter.examples.catalog"
minSdkVersion
16
minSdkVersion
16
targetSdkVersion
2
8
targetSdkVersion
2
9
versionCode
flutterVersionCode
.
toInteger
()
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
versionName
flutterVersionName
}
}
...
...
examples/flutter_view/android/app/build.gradle
View file @
df8e537f
...
@@ -29,7 +29,7 @@ apply plugin: 'com.android.application'
...
@@ -29,7 +29,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
android
{
compileSdkVersion
2
8
compileSdkVersion
2
9
lintOptions
{
lintOptions
{
disable
'InvalidPackage'
disable
'InvalidPackage'
...
@@ -38,7 +38,7 @@ android {
...
@@ -38,7 +38,7 @@ android {
defaultConfig
{
defaultConfig
{
applicationId
"io.flutter.examples.flutter_view"
applicationId
"io.flutter.examples.flutter_view"
minSdkVersion
16
minSdkVersion
16
targetSdkVersion
2
8
targetSdkVersion
2
9
versionCode
flutterVersionCode
.
toInteger
()
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
versionName
flutterVersionName
}
}
...
...
examples/hello_world/android/app/build.gradle
View file @
df8e537f
...
@@ -29,7 +29,7 @@ apply plugin: 'com.android.application'
...
@@ -29,7 +29,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
android
{
compileSdkVersion
2
8
compileSdkVersion
2
9
lintOptions
{
lintOptions
{
disable
'InvalidPackage'
disable
'InvalidPackage'
...
@@ -38,7 +38,7 @@ android {
...
@@ -38,7 +38,7 @@ android {
defaultConfig
{
defaultConfig
{
applicationId
"io.flutter.examples.hello_world"
applicationId
"io.flutter.examples.hello_world"
minSdkVersion
16
minSdkVersion
16
targetSdkVersion
2
8
targetSdkVersion
2
9
versionCode
flutterVersionCode
.
toInteger
()
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
versionName
flutterVersionName
}
}
...
...
examples/image_list/android/app/build.gradle
View file @
df8e537f
...
@@ -29,7 +29,7 @@ apply plugin: 'com.android.application'
...
@@ -29,7 +29,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
android
{
compileSdkVersion
2
8
compileSdkVersion
2
9
lintOptions
{
lintOptions
{
disable
'InvalidPackage'
disable
'InvalidPackage'
...
@@ -39,7 +39,7 @@ android {
...
@@ -39,7 +39,7 @@ android {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId
"com.example.image_list"
applicationId
"com.example.image_list"
minSdkVersion
16
minSdkVersion
16
targetSdkVersion
2
8
targetSdkVersion
2
9
versionCode
flutterVersionCode
.
toInteger
()
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
versionName
flutterVersionName
}
}
...
...
examples/layers/android/app/build.gradle
View file @
df8e537f
...
@@ -29,7 +29,7 @@ apply plugin: 'com.android.application'
...
@@ -29,7 +29,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
android
{
compileSdkVersion
2
8
compileSdkVersion
2
9
lintOptions
{
lintOptions
{
disable
'InvalidPackage'
disable
'InvalidPackage'
...
@@ -38,7 +38,7 @@ android {
...
@@ -38,7 +38,7 @@ android {
defaultConfig
{
defaultConfig
{
applicationId
"io.flutter.examples.layers"
applicationId
"io.flutter.examples.layers"
minSdkVersion
16
minSdkVersion
16
targetSdkVersion
2
8
targetSdkVersion
2
9
versionCode
flutterVersionCode
.
toInteger
()
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
versionName
flutterVersionName
}
}
...
...
examples/platform_channel/android/app/build.gradle
View file @
df8e537f
...
@@ -29,7 +29,7 @@ apply plugin: 'com.android.application'
...
@@ -29,7 +29,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
android
{
compileSdkVersion
2
8
compileSdkVersion
2
9
lintOptions
{
lintOptions
{
disable
'InvalidPackage'
disable
'InvalidPackage'
...
@@ -38,7 +38,7 @@ android {
...
@@ -38,7 +38,7 @@ android {
defaultConfig
{
defaultConfig
{
applicationId
"io.flutter.examples.platform_channel"
applicationId
"io.flutter.examples.platform_channel"
minSdkVersion
16
minSdkVersion
16
targetSdkVersion
2
8
targetSdkVersion
2
9
versionCode
flutterVersionCode
.
toInteger
()
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
versionName
flutterVersionName
testInstrumentationRunner
"androidx.test.runner.AndroidJUnitRunner"
testInstrumentationRunner
"androidx.test.runner.AndroidJUnitRunner"
...
...
examples/platform_view/android/app/build.gradle
View file @
df8e537f
...
@@ -29,7 +29,7 @@ apply plugin: 'com.android.application'
...
@@ -29,7 +29,7 @@ apply plugin: 'com.android.application'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
android
{
compileSdkVersion
2
8
compileSdkVersion
2
9
lintOptions
{
lintOptions
{
disable
'InvalidPackage'
disable
'InvalidPackage'
...
@@ -38,7 +38,7 @@ android {
...
@@ -38,7 +38,7 @@ android {
defaultConfig
{
defaultConfig
{
applicationId
"io.flutter.examples.platform_view"
applicationId
"io.flutter.examples.platform_view"
minSdkVersion
16
minSdkVersion
16
targetSdkVersion
2
8
targetSdkVersion
2
9
versionCode
flutterVersionCode
.
toInteger
()
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
versionName
flutterVersionName
}
}
...
...
packages/flutter_tools/templates/app/android-java.tmpl/app/build.gradle.tmpl
View file @
df8e537f
...
@@ -25,7 +25,7 @@ apply plugin: 'com.android.application'
...
@@ -25,7 +25,7 @@ apply plugin: 'com.android.application'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android {
android {
compileSdkVersion 2
8
compileSdkVersion 2
9
lintOptions {
lintOptions {
disable 'InvalidPackage'
disable 'InvalidPackage'
...
@@ -35,7 +35,7 @@ android {
...
@@ -35,7 +35,7 @@ android {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "{{androidIdentifier}}"
applicationId "{{androidIdentifier}}"
minSdkVersion 16
minSdkVersion 16
targetSdkVersion 2
8
targetSdkVersion 2
9
versionCode flutterVersionCode.toInteger()
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
versionName flutterVersionName
}
}
...
...
packages/flutter_tools/templates/app/android-kotlin.tmpl/app/build.gradle.tmpl
View file @
df8e537f
...
@@ -26,7 +26,7 @@ apply plugin: 'kotlin-android'
...
@@ -26,7 +26,7 @@ apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android {
android {
compileSdkVersion 2
8
compileSdkVersion 2
9
sourceSets {
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
main.java.srcDirs += 'src/main/kotlin'
...
@@ -40,7 +40,7 @@ android {
...
@@ -40,7 +40,7 @@ android {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "{{androidIdentifier}}"
applicationId "{{androidIdentifier}}"
minSdkVersion 16
minSdkVersion 16
targetSdkVersion 2
8
targetSdkVersion 2
9
versionCode flutterVersionCode.toInteger()
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
versionName flutterVersionName
}
}
...
...
packages/flutter_tools/templates/module/android/host_app_common/app.tmpl/build.gradle.tmpl
View file @
df8e537f
...
@@ -3,7 +3,7 @@ def flutterPluginVersion = 'managed'
...
@@ -3,7 +3,7 @@ def flutterPluginVersion = 'managed'
apply plugin: 'com.android.application'
apply plugin: 'com.android.application'
android {
android {
compileSdkVersion 2
8
compileSdkVersion 2
9
compileOptions {
compileOptions {
sourceCompatibility 1.8
sourceCompatibility 1.8
...
@@ -13,7 +13,7 @@ android {
...
@@ -13,7 +13,7 @@ android {
defaultConfig {
defaultConfig {
applicationId "{{androidIdentifier}}.host"
applicationId "{{androidIdentifier}}.host"
minSdkVersion 16
minSdkVersion 16
targetSdkVersion 2
8
targetSdkVersion 2
9
versionCode 1
versionCode 1
versionName "1.0"
versionName "1.0"
}
}
...
...
packages/flutter_tools/templates/module/android/library_new_embedding/Flutter.tmpl/build.gradle.tmpl
View file @
df8e537f
...
@@ -30,11 +30,11 @@ group '{{androidIdentifier}}'
...
@@ -30,11 +30,11 @@ group '{{androidIdentifier}}'
version '1.0'
version '1.0'
android {
android {
compileSdkVersion 2
8
compileSdkVersion 2
9
defaultConfig {
defaultConfig {
minSdkVersion 16
minSdkVersion 16
targetSdkVersion 2
8
targetSdkVersion 2
9
versionCode flutterVersionCode.toInteger()
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
versionName flutterVersionName
}
}
...
...
packages/flutter_tools/templates/plugin/android-java.tmpl/build.gradle.tmpl
View file @
df8e537f
...
@@ -22,7 +22,7 @@ rootProject.allprojects {
...
@@ -22,7 +22,7 @@ rootProject.allprojects {
apply plugin: 'com.android.library'
apply plugin: 'com.android.library'
android {
android {
compileSdkVersion 2
8
compileSdkVersion 2
9
defaultConfig {
defaultConfig {
minSdkVersion 16
minSdkVersion 16
...
...
packages/flutter_tools/templates/plugin/android-kotlin.tmpl/build.gradle.tmpl
View file @
df8e537f
...
@@ -25,7 +25,7 @@ apply plugin: 'com.android.library'
...
@@ -25,7 +25,7 @@ apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android'
android {
android {
compileSdkVersion 2
8
compileSdkVersion 2
9
sourceSets {
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
main.java.srcDirs += 'src/main/kotlin'
...
...
packages/flutter_tools/test/general.shard/project_test.dart
View file @
df8e537f
...
@@ -865,7 +865,7 @@ String gradleFileWithApplicationId(String id) {
...
@@ -865,7 +865,7 @@ String gradleFileWithApplicationId(String id) {
return
'''
return
'''
apply plugin: '
com
.
android
.
application
'
apply plugin: '
com
.
android
.
application
'
android {
android {
compileSdkVersion 2
8
compileSdkVersion 2
9
defaultConfig {
defaultConfig {
applicationId '
$id
'
applicationId '
$id
'
...
@@ -882,7 +882,7 @@ version '1.0-SNAPSHOT'
...
@@ -882,7 +882,7 @@ version '1.0-SNAPSHOT'
apply plugin: '
com
.
android
.
library
'
apply plugin: '
com
.
android
.
library
'
android {
android {
compileSdkVersion 2
8
compileSdkVersion 2
9
}
}
'''
;
'''
;
}
}
...
...
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