From 2044c978f586fb7d0bbcc6e0cf76fc1e759a2adf Mon Sep 17 00:00:00 2001 From: Kazik Pogoda Date: Fri, 13 Dec 2024 21:28:29 +0100 Subject: [PATCH] native tests fixed --- build.gradle.kts | 10 +--------- src/commonTest/kotlin/message/MessageTest.kt | 2 +- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 89cbd0f..008d028 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -57,8 +57,8 @@ kotlin { compilerOptions { apiVersion = kotlinTarget languageVersion = kotlinTarget - extraWarnings.set(true) freeCompilerArgs.add("-Xmulti-dollar-interpolation") + extraWarnings.set(true) progressiveMode = true } @@ -140,14 +140,6 @@ kotlin { sourceSets { - all { - languageSettings { - languageVersion = kotlinTarget.version - apiVersion = kotlinTarget.version - progressiveMode = true - } - } - commonMain { dependencies { implementation(libs.kotlinx.datetime) diff --git a/src/commonTest/kotlin/message/MessageTest.kt b/src/commonTest/kotlin/message/MessageTest.kt index 46fb761..76f9367 100644 --- a/src/commonTest/kotlin/message/MessageTest.kt +++ b/src/commonTest/kotlin/message/MessageTest.kt @@ -2,7 +2,7 @@ package com.xemantic.anthropic.message import com.xemantic.kotlin.test.have import com.xemantic.kotlin.test.should -import org.junit.Test +import kotlin.test.Test class MessageTest {