2026-09-04 00:19:17 +08:00
|
|
|
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
|
|
|
|
|
|
|
|
|
|
kotlin {
|
|
|
|
|
explicitApi()
|
2026-09-05 00:17:22 +08:00
|
|
|
withSourcesJar()
|
2026-09-04 00:19:17 +08:00
|
|
|
|
|
|
|
|
linuxX64()
|
|
|
|
|
linuxArm64()
|
|
|
|
|
macosArm64()
|
|
|
|
|
mingwX64()
|
|
|
|
|
jvm { compilerOptions.jvmTarget = JvmTarget.JVM_1_8 }
|
|
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
|
commonMain.dependencies {
|
2026-09-05 00:17:22 +08:00
|
|
|
api(project(":common"))
|
2026-09-04 00:19:17 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
commonTest.dependencies {
|
|
|
|
|
implementation(kotlin("test"))
|
2026-09-04 16:55:56 +08:00
|
|
|
implementation(libs.kotlinx.coroutines.test)
|
2026-09-04 00:19:17 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|