File tree Expand file tree Collapse file tree 3 files changed +6
-14
lines changed Expand file tree Collapse file tree 3 files changed +6
-14
lines changed Original file line number Diff line number Diff line change 11import org.jetbrains.compose.desktop.application.dsl.TargetFormat
22import org.jetbrains.gradle.ext.ProjectSettings
33import org.jetbrains.gradle.ext.TaskTriggersConfig
4+ import org.jetbrains.kotlin.gradle.dsl.JvmTarget
45
56plugins {
67 alias(libs.plugins.kotlin)
@@ -96,6 +97,7 @@ tasks {
9697kotlin {
9798 compilerOptions {
9899 freeCompilerArgs.add(" -Xcontext-receivers" )
100+ jvmTarget = JvmTarget .JVM_11
99101 }
100102 jvmToolchain(11 )
101103}
Original file line number Diff line number Diff line change @@ -5,10 +5,10 @@ kotlinx-coroutines = "1.10.1"
55kotlinx-serialization = " 1.8.0"
66kotlinx-datetime = " 0.6.1"
77
8- compose = " 1.7.0 "
9- compose-gl = " 0.7.0 "
10- jni-utils = " 0.1.5 "
11- skiko = " 0.8.15 -egl"
8+ compose = " 1.7.3 "
9+ compose-gl = " 0.7.2 "
10+ jni-utils = " 0.1.6 "
11+ skiko = " 0.8.19 -egl"
1212jna = " 5.16.0"
1313
1414slf4j = " 2.0.16"
Original file line number Diff line number Diff line change 11import dev.silenium.libs.jni.NativeLoader
22import dev.silenium.libs.jni.NativePlatform
33import dev.silenium.libs.jni.Platform
4- import org.jetbrains.kotlin.gradle.dsl.JvmTarget
5- import org.jetbrains.kotlin.gradle.dsl.KotlinVersion
64
75buildscript {
86 repositories {
@@ -94,14 +92,6 @@ tasks.processResources {
9492 }
9593}
9694
97- kotlin {
98- jvmToolchain(8 )
99- compilerOptions {
100- jvmTarget = JvmTarget .JVM_1_8
101- languageVersion = KotlinVersion .KOTLIN_1_7
102- }
103- }
104-
10595publishing {
10696 publications {
10797 if (deployNative) {
You can’t perform that action at this time.
0 commit comments