File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 4242
4343 sed -i ' ' -e " s/sourceCompatibility = .*/sourceCompatibility = JavaVersion.VERSION_17/" ./android/app/build.gradle.kts
4444
45- # TODO(equartey): remove this line after the next stable release (3.22.0 or 4.0)
4645 sed -i ' ' -e " s/targetCompatibility = .*/targetCompatibility = JavaVersion.VERSION_17/" ./android/app/build.gradle.kts
4746
47+ # TODO(equartey): remove this line after the next stable release (3.22.0 or 4.0)
48+ sed -i ' ' -e " s/jvmTarget = .*/jvmTarget = JavaVersion.VERSION_17.toString()/" ./android/app/build.gradle.kts
49+
4850 sed -i ' ' -e " s/compileOptions {.*/compileOptions {\n\t\tisCoreLibraryDesugaringEnabled = true/" ./android/app/build.gradle.kts
4951 sed -i ' ' -e " s/flutter {.*/dependencies {\n\tcoreLibraryDesugaring(\" com.android.tools:desugar_jdk_libs:2.0.3\" )\n}\n\nflutter {/" ./android/app/build.gradle.kts
5052 cat ./android/app/build.gradle.kts
6971
7072 sed -i ' ' -e " s/targetCompatibility = .*/targetCompatibility = JavaVersion.VERSION_17/" ./android/app/build.gradle
7173
72- sed -i ' ' -e " s/compileOptions {.*/compileOptions {\n\t\tisCoreLibraryDesugaringEnabled = true/" ./android/app/build.gradle
74+ sed -i ' ' -e " s/jvmTarget = .*/jvmTarget = JavaVersion.VERSION_17/" ./android/app/build.gradle
75+
76+ # sed -i '' -e "s/compileOptions {.*/compileOptions {\n\t\tCoreLibraryDesugaringEnabled = true/" ./android/app/build.gradle
7377 sed -i ' ' -e " s/flutter {.*/dependencies {\n\tcoreLibraryDesugaring(\" com.android.tools:desugar_jdk_libs:2.0.3\" )\n}\n\nflutter {/" ./android/app/build.gradle
7478 cat ./android/app/build.gradle
7579
You can’t perform that action at this time.
0 commit comments