Files
2020-01-24 11:12:55 +03:00

39 lines
733 B
Kotlin
Vendored

plugins {
kotlin("multiplatform") version "1.3.61"
}
group = "testGroupId"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
kotlin {
js("nodeJs") {
nodejs {
}
}
js("browser") {
browser {
}
}
sourceSets {
val nodeJsMain by getting {
dependencies {
implementation(kotlin("stdlib-js"))
}
}
val nodeJsTest by getting
val browserMain by getting {
dependencies {
implementation(kotlin("stdlib-js"))
}
}
val browserTest by getting {
dependencies {
implementation(kotlin("test-js"))
}
}
}
}