85 lines
1.4 KiB
Plaintext
85 lines
1.4 KiB
Plaintext
plugins {
|
|
kotlin("multiplatform") version "2.1.0"
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
|
|
kotlin {
|
|
mingwX64()
|
|
linuxX64()
|
|
linuxArm64()
|
|
macosX64()
|
|
macosArm64()
|
|
sourceSets {
|
|
val commonMain by getting {
|
|
dependencies {
|
|
implementation("org.jetbrains.kotlinx:atomicfu:0.27.0")
|
|
}
|
|
}
|
|
|
|
val commonTest by getting {
|
|
dependencies {
|
|
}
|
|
}
|
|
|
|
val nativeMain by creating {
|
|
dependsOn(commonMain)
|
|
dependencies {
|
|
implementation(project(":modules:low-level:c-interop-utilities"))
|
|
implementation(project(":modules:low-level:multithreading"))
|
|
}
|
|
}
|
|
val nativeTest by creating {
|
|
dependsOn(commonTest)
|
|
}
|
|
|
|
val posixMain by creating {
|
|
dependsOn(nativeMain)
|
|
}
|
|
val posixTest by creating {
|
|
dependsOn(nativeTest)
|
|
}
|
|
|
|
val linuxMain by creating {
|
|
dependsOn(posixMain)
|
|
}
|
|
val linuxTest by creating {
|
|
dependsOn(posixTest)
|
|
}
|
|
|
|
val linuxX64Main by getting {
|
|
dependsOn(linuxMain)
|
|
}
|
|
val linuxX64Test by getting {
|
|
dependsOn(linuxTest)
|
|
}
|
|
val linuxArm64Main by getting {
|
|
dependsOn(linuxMain)
|
|
}
|
|
val linuxArm64Test by getting {
|
|
dependsOn(linuxTest)
|
|
}
|
|
|
|
val macosMain by creating {
|
|
dependsOn(posixMain)
|
|
}
|
|
val macosTest by creating {
|
|
dependsOn(posixTest)
|
|
}
|
|
val macosX64Main by getting {
|
|
dependsOn(macosMain)
|
|
}
|
|
val macosX64Test by getting {
|
|
dependsOn(macosTest)
|
|
}
|
|
val macosArm64Main by getting {
|
|
dependsOn(macosMain)
|
|
}
|
|
val macosArm64Test by getting {
|
|
dependsOn(macosTest)
|
|
}
|
|
}
|
|
} |