phantasmal-world/core/build.gradle.kts

41 lines
786 B
Plaintext
Raw Normal View History

plugins {
kotlin("multiplatform")
}
val kotlinLoggingVersion: String by project.extra
kotlin {
js {
browser {}
}
2020-10-28 05:55:05 +08:00
jvm()
sourceSets {
commonMain {
dependencies {
api("io.github.microutils:kotlin-logging:$kotlinLoggingVersion")
}
}
commonTest {
dependencies {
implementation(kotlin("test-common"))
implementation(kotlin("test-annotations-common"))
}
}
2020-10-28 05:55:05 +08:00
getByName("jsTest") {
dependencies {
implementation(kotlin("test-js"))
}
}
2020-10-28 05:55:05 +08:00
getByName("jvmTest") {
dependencies {
implementation(kotlin("test-junit"))
}
}
}
}