diff --git a/asr-domain/build.gradle.kts b/asr-domain/build.gradle.kts index 42796d94..fe712226 100644 --- a/asr-domain/build.gradle.kts +++ b/asr-domain/build.gradle.kts @@ -17,5 +17,8 @@ plugins { // kotlin-test in commonTest is added automatically (SkainetMultiplatformExtension's // kotlinTestInCommonTest default). skainet { + // sk.ainet.multiplatform 1.1.0 defaults the JVM target to 17; the engine artifacts and the rest of + // this build are JVM 21, and inlining across the two fails to compile. + jvmTarget = org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_21 namespace = "sk.ainet.asr.domain" } diff --git a/llm-core/build.gradle.kts b/llm-core/build.gradle.kts index 30b80e70..bce847c8 100644 --- a/llm-core/build.gradle.kts +++ b/llm-core/build.gradle.kts @@ -12,6 +12,9 @@ plugins { // declared manually below instead, alongside this module's own already-manual source-set // hierarchy (kotlin.mpp.applyDefaultHierarchyTemplate=false, also in gradle.properties). skainet { + // sk.ainet.multiplatform 1.1.0 defaults the JVM target to 17; the engine artifacts and the rest of + // this build are JVM 21, and inlining across the two fails to compile. + jvmTarget = org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_21 namespace = "sk.ainet.apps.llm" // sk.ainet.multiplatform defaults explicitApi to true; this module has a handful of // declarations (DecoderGgufWeightLoader.kt's GGUF key-naming helpers) missing visibility diff --git a/transformer-core/build.gradle.kts b/transformer-core/build.gradle.kts index c9820773..5d74edd9 100644 --- a/transformer-core/build.gradle.kts +++ b/transformer-core/build.gradle.kts @@ -15,6 +15,9 @@ plugins { // Targets: gradle.properties (skainet.targets=jvm,js,wasmJs,wasmWasi,apple,linux,androidNative -- // the full default plus androidNative, since this module needs both androidNativeArm32/64). skainet { + // sk.ainet.multiplatform 1.1.0 defaults the JVM target to 17; the engine artifacts and the rest of + // this build are JVM 21, and inlining across the two fails to compile. + jvmTarget = org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_21 namespace = "sk.ainet.lang.nn" }