kotlin {
jvm { }
js(LEGACY) { browser { } }
def hostOs = System.getProperty("os.name")
def isMingwX64 = hostOs.startsWith("Windows")
KotlinNativeTargetWithTests nativeTarget
if (hostOs == "Mac OS X") nativeTarget = macosX64('native')
else if (hostOs == "Linux") nativeTarget = linuxX64("native")
else if (isMingwX64) nativeTarget = mingwX64("native")
else throw new GradleException("Host OS is not supported in Kotlin/Native.")
sourceSets {
commonMain { }
commonTest { }
jvmMain { }
jvmTest { }
jsMain { }
jsTest { }
nativeMain { }
nativeTest { }
}
}
Is this a known issue or should I create an issue?
l
Landry Norris
03/02/2023, 9:51 PM
Looks like failing tests
r
robstoll
03/02/2023, 10:20 PM
The test is about building the project with kotlin 1.8.0 on jdk11 and it fails due to a failure during :compileKotlinNative -- looks like a regression at first sight as it works with kotlin 1.7.0
l
Landry Norris
03/02/2023, 11:18 PM
Does this happen if you run the same task locally? What does the test report say?