Skip to content

Commit 10908f5

Browse files
committed
target compat 11
1 parent 23426fd commit 10908f5

2 files changed

Lines changed: 12 additions & 9 deletions

File tree

benchmarkmacro/build.gradle

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff 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+
3839
dependencies {
3940
implementation 'androidx.test.ext:junit:1.1.3'
4041
implementation 'androidx.test.espresso:espresso-core:3.4.0'

benchmarkmicro/build.gradle

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff 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+
4143
dependencies {
4244
androidTestImplementation 'androidx.test:runner:1.4.0'
4345
androidTestImplementation 'androidx.test.ext:junit:1.1.3'

0 commit comments

Comments
 (0)