We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25ed11c commit 506c783Copy full SHA for 506c783
objectbox-kotlin/build.gradle
@@ -14,10 +14,13 @@ tasks.withType(JavaCompile).configureEach {
14
options.release.set(8)
15
}
16
17
-// Produce Java 8 byte code, would default to Java 6.
18
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
19
kotlinOptions {
+ // Produce Java 8 byte code, would default to Java 6.
20
jvmTarget = "1.8"
21
+ // Try to use APIs at most one version newer than lowest supported (notably by Gradle plugin).
22
+ // Note: Kotlin is able to compile with binaries up to one later version.
23
+ apiVersion = "1.5"
24
25
26
0 commit comments