File tree Expand file tree Collapse file tree 4 files changed +14
-5
lines changed Expand file tree Collapse file tree 4 files changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -29,8 +29,12 @@ android {
2929 ndkVersion = flutter. ndkVersion
3030
3131 compileOptions {
32- sourceCompatibility = JavaVersion . VERSION_1_8
33- targetCompatibility = JavaVersion . VERSION_1_8
32+ sourceCompatibility = JavaVersion . VERSION_17
33+ targetCompatibility = JavaVersion . VERSION_17
34+ }
35+
36+ kotlinOptions {
37+ jvmTarget = JavaVersion . VERSION_17
3438 }
3539
3640 defaultConfig {
Original file line number Diff line number Diff line change 11org.gradle.jvmargs =-Xmx4G -XX:+HeapDumpOnOutOfMemoryError
22android.useAndroidX =true
33android.enableJetifier =true
4+ android.defaults.buildfeatures.buildconfig =true
5+ android.nonTransitiveRClass =false
6+ android.nonFinalResIds =false
Original file line number Diff line number Diff line change 11distributionBase =GRADLE_USER_HOME
22distributionPath =wrapper/dists
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.5-bin.zip
4+ networkTimeout =10000
5+ validateDistributionUrl =true
36zipStoreBase =GRADLE_USER_HOME
47zipStorePath =wrapper/dists
5- distributionUrl =https\://services.gradle.org/distributions/gradle-7.6.3-all.zip
Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ pluginManagement {
1818
1919plugins {
2020 id " dev.flutter.flutter-plugin-loader" version " 1.0.0"
21- id " com.android.application" version " 7 .3.0 " apply false
22- id " org.jetbrains.kotlin.android" version " 1.7.10 " apply false
21+ id " com.android.application" version ' 8 .3.1 ' apply false
22+ id " org.jetbrains.kotlin.android" version " 1.8.22 " apply false
2323}
2424
2525include " :app"
You can’t perform that action at this time.
0 commit comments