File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,11 +9,6 @@ android {
99
1010 compileSdk 33
1111
12- compileOptions {
13- sourceCompatibility = JavaVersion . VERSION_11
14- targetCompatibility = JavaVersion . VERSION_11
15- }
16-
1712 defaultConfig {
1813 minSdk 23
1914 targetSdk 33
@@ -35,6 +30,12 @@ android {
3530 experimentalProperties[" android.experimental.self-instrumenting" ] = true
3631}
3732
33+ java {
34+ toolchain {
35+ languageVersion = JavaLanguageVersion . of(11 )
36+ }
37+ }
38+
3839dependencies {
3940 implementation ' androidx.test.ext:junit:1.1.3'
4041 implementation ' androidx.test.espresso:espresso-core:3.4.0'
Original file line number Diff line number Diff line change @@ -12,10 +12,6 @@ android {
1212
1313 compileSdk 33
1414
15- compileOptions {
16- sourceCompatibility = JavaVersion . VERSION_11
17- targetCompatibility = JavaVersion . VERSION_11
18- }
1915
2016 defaultConfig {
2117 minSdk 23
@@ -38,6 +34,12 @@ android {
3834 }
3935}
4036
37+ java {
38+ toolchain {
39+ languageVersion = JavaLanguageVersion . of(11 )
40+ }
41+ }
42+
4143dependencies {
4244 androidTestImplementation ' androidx.test:runner:1.4.0'
4345 androidTestImplementation ' androidx.test.ext:junit:1.1.3'
You can’t perform that action at this time.
0 commit comments