File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,11 @@ apply plugin: 'com.android.library'
24
24
android {
25
25
compileSdkVersion 28
26
26
27
+ compileOptions {
28
+ sourceCompatibility JavaVersion . VERSION_1_8
29
+ targetCompatibility JavaVersion . VERSION_1_8
30
+ }
31
+
27
32
defaultConfig {
28
33
minSdkVersion 16
29
34
testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
Original file line number Diff line number Diff line change @@ -28,6 +28,15 @@ apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
28
28
android {
29
29
compileSdkVersion 31
30
30
31
+ compileOptions {
32
+ sourceCompatibility JavaVersion . VERSION_1_8
33
+ targetCompatibility JavaVersion . VERSION_1_8
34
+ }
35
+
36
+ kotlinOptions {
37
+ jvmTarget = ' 1.8'
38
+ }
39
+
31
40
sourceSets {
32
41
main. java. srcDirs + = ' src/main/kotlin'
33
42
}
You can’t perform that action at this time.
0 commit comments