File tree Expand file tree Collapse file tree 20 files changed +47
-47
lines changed
animations/example/android/app
camera/camera_android_camerax/example/android/app
extension_google_sign_in_as_googleapis_auth/example/android/app
file_selector/file_selector/example/android/app
go_router/example/android/app
google_fonts/example/android/app
alternate_language_test_plugin/example/android/app
test_plugin/example/android/app
shared_preferences_android/example/android/app
shared_preferences/example/android/app
two_dimensional_scrollables/example/android/app
video_player_android/example/android/app
video_player/example/android/app
webview_flutter/webview_flutter_android/example/android/app Expand file tree Collapse file tree 20 files changed +47
-47
lines changed Original file line number Diff line number Diff line change @@ -11,12 +11,12 @@ android {
1111 ndkVersion = flutter. ndkVersion
1212
1313 compileOptions {
14- sourceCompatibility = JavaVersion . VERSION_11
15- targetCompatibility = JavaVersion . VERSION_11
14+ sourceCompatibility = JavaVersion . VERSION_17
15+ targetCompatibility = JavaVersion . VERSION_17
1616 }
1717
1818 kotlinOptions {
19- jvmTarget = ' 11 '
19+ jvmTarget = JavaVersion . VERSION_17 . toString()
2020 }
2121
2222 sourceSets {
Original file line number Diff line number Diff line change @@ -28,13 +28,13 @@ android {
2828 ndkVersion = flutter. ndkVersion
2929
3030 compileOptions {
31- sourceCompatibility = JavaVersion . VERSION_11
32- targetCompatibility = JavaVersion . VERSION_11
31+ sourceCompatibility = JavaVersion . VERSION_17
32+ targetCompatibility = JavaVersion . VERSION_17
3333 }
3434
3535 kotlinOptions {
3636 // This must match the Java version provided in compileOptions.
37- jvmTarget = ' 11 '
37+ jvmTarget = JavaVersion . VERSION_17 . toString()
3838 }
3939
4040 defaultConfig {
Original file line number Diff line number Diff line change @@ -27,8 +27,8 @@ android {
2727 compileSdk = flutter. compileSdkVersion
2828
2929 compileOptions {
30- sourceCompatibility = JavaVersion . VERSION_11
31- targetCompatibility = JavaVersion . VERSION_11
30+ sourceCompatibility = JavaVersion . VERSION_17
31+ targetCompatibility = JavaVersion . VERSION_17
3232 }
3333
3434 defaultConfig {
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ android {
3333 }
3434
3535 kotlinOptions {
36- jvmTarget = ' 17 '
36+ jvmTarget = JavaVersion . VERSION_17 . toString()
3737 }
3838
3939 sourceSets {
Original file line number Diff line number Diff line change @@ -26,12 +26,12 @@ android {
2626 compileSdk = flutter. compileSdkVersion
2727
2828 compileOptions {
29- sourceCompatibility = JavaVersion . VERSION_11
30- targetCompatibility = JavaVersion . VERSION_11
29+ sourceCompatibility = JavaVersion . VERSION_17
30+ targetCompatibility = JavaVersion . VERSION_17
3131 }
3232
3333 kotlinOptions {
34- jvmTarget = ' 11 '
34+ jvmTarget = JavaVersion . VERSION_17 . toString()
3535 }
3636
3737 sourceSets {
Original file line number Diff line number Diff line change @@ -11,12 +11,12 @@ android {
1111 ndkVersion = flutter. ndkVersion
1212
1313 compileOptions {
14- sourceCompatibility = JavaVersion . VERSION_11
15- targetCompatibility = JavaVersion . VERSION_11
14+ sourceCompatibility = JavaVersion . VERSION_17
15+ targetCompatibility = JavaVersion . VERSION_17
1616 }
1717
1818 kotlinOptions {
19- jvmTarget = ' 11 '
19+ jvmTarget = JavaVersion . VERSION_17 . toString()
2020 }
2121
2222 sourceSets {
Original file line number Diff line number Diff line change @@ -67,8 +67,8 @@ android {
6767// ···
6868 compileOptions {
6969 coreLibraryDesugaringEnabled true
70- sourceCompatibility = JavaVersion.VERSION_11
71- targetCompatibility = JavaVersion.VERSION_11
70+ sourceCompatibility = JavaVersion.VERSION_17
71+ targetCompatibility = JavaVersion.VERSION_17
7272 }
7373 // ···
7474}
Original file line number Diff line number Diff line change @@ -32,13 +32,13 @@ android {
3232 // #docregion android_desugaring
3333 compileOptions {
3434 coreLibraryDesugaringEnabled true
35- sourceCompatibility = JavaVersion . VERSION_11
36- targetCompatibility = JavaVersion . VERSION_11
35+ sourceCompatibility = JavaVersion . VERSION_17
36+ targetCompatibility = JavaVersion . VERSION_17
3737 }
3838 // #enddocregion android_desugaring
3939
4040 kotlinOptions {
41- jvmTarget = ' 11 '
41+ jvmTarget = JavaVersion . VERSION_17 . toString()
4242 }
4343
4444 sourceSets {
Original file line number Diff line number Diff line change @@ -28,12 +28,12 @@ android {
2828 ndkVersion = flutter. ndkVersion
2929
3030 compileOptions {
31- sourceCompatibility = JavaVersion . VERSION_11
32- targetCompatibility = JavaVersion . VERSION_11
31+ sourceCompatibility = JavaVersion . VERSION_17
32+ targetCompatibility = JavaVersion . VERSION_17
3333 }
3434
3535 kotlinOptions {
36- jvmTarget = ' 11 '
36+ jvmTarget = JavaVersion . VERSION_17 . toString()
3737 }
3838
3939 sourceSets {
Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ android {
2828 ndkVersion = flutter. ndkVersion
2929
3030 compileOptions {
31- sourceCompatibility = JavaVersion . VERSION_11
32- targetCompatibility = JavaVersion . VERSION_11
31+ sourceCompatibility = JavaVersion . VERSION_17
32+ targetCompatibility = JavaVersion . VERSION_17
3333 }
3434
3535 defaultConfig {
You can’t perform that action at this time.
0 commit comments