Update mppJavaProject.gradle

This commit is contained in:
InsanusMokrassar 2022-06-29 13:36:15 +06:00 committed by GitHub
parent 71effb81c2
commit b575a2ca2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,13 @@ project.group = "$group"
// apply from: "$publishGradlePath"
kotlin {
jvm()
jvm {
compilations.main {
kotlinOptions {
jvmTarget = "1.8"
}
}
}
sourceSets {
commonMain {
@ -28,7 +34,6 @@ kotlin {
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(8)
}
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}