Skip to content

Commit b911212

Browse files
authored
fix: add target java version to avoid compile error (#37)
2 parents abf7fca + de5f2b1 commit b911212

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

system_theme/android/build.gradle

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,14 @@ apply plugin: 'kotlin-android'
2727
android {
2828
namespace 'com.bruno.system_theme'
2929
compileSdkVersion 31
30-
30+
31+
compileOptions {
32+
sourceCompatibility = JavaVersion.VERSION_1_8
33+
targetCompatibility = JavaVersion.VERSION_1_8
34+
}
35+
kotlinOptions {
36+
jvmTarget = JavaVersion.VERSION_1_8
37+
}
3138
sourceSets {
3239
main.java.srcDirs += 'src/main/kotlin'
3340
}

0 commit comments

Comments
 (0)