Skip to content

Commit 3effa7c

Browse files
committed
Fix build errors by matching kotlin jvmTarget with Java targetCompatibility.
1 parent f51fedc commit 3effa7c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

android/build.gradle

+6-2
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,12 @@ android {
5151
}
5252

5353
compileOptions {
54-
sourceCompatibility 1.8
55-
targetCompatibility 1.8
54+
sourceCompatibility JavaVersion.VERSION_1_8
55+
targetCompatibility JavaVersion.VERSION_1_8
56+
}
57+
58+
kotlinOptions {
59+
jvmTarget = JavaVersion.VERSION_1_8
5660
}
5761
}
5862

0 commit comments

Comments
 (0)