mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-10-11 08:02:43 +02:00
Merge pull request #1459 from davotoula/main
Setting JvmTarget to 21 for quartz
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
alias(libs.plugins.kotlinMultiplatform)
|
alias(libs.plugins.kotlinMultiplatform)
|
||||||
alias(libs.plugins.androidLibrary)
|
alias(libs.plugins.androidLibrary)
|
||||||
@@ -43,13 +45,20 @@ kotlin {
|
|||||||
compilerOptions {
|
compilerOptions {
|
||||||
freeCompilerArgs.add("-Xstring-concat=inline")
|
freeCompilerArgs.add("-Xstring-concat=inline")
|
||||||
}
|
}
|
||||||
jvm()
|
jvm {
|
||||||
|
compilerOptions {
|
||||||
|
jvmTarget.set(JvmTarget.JVM_1_8)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Target declarations - add or remove as needed below. These define
|
// Target declarations - add or remove as needed below. These define
|
||||||
// which platforms this KMP module supports.
|
// which platforms this KMP module supports.
|
||||||
// See: https://kotlinlang.org/docs/multiplatform-discover-project.html#targets
|
// See: https://kotlinlang.org/docs/multiplatform-discover-project.html#targets
|
||||||
androidTarget {
|
androidTarget {
|
||||||
publishLibraryVariants("release")
|
publishLibraryVariants("release")
|
||||||
|
compilerOptions {
|
||||||
|
jvmTarget.set(JvmTarget.JVM_1_8)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// For iOS targets, this is also where you should
|
// For iOS targets, this is also where you should
|
||||||
|
Reference in New Issue
Block a user