75250cf1a0
Adds friendly names for KLIBs imported as file dependencies from Gradle project. Issue #KT-29613 Fixed Issue #KT-29783 Fixed
49 lines
1021 B
Kotlin
Vendored
49 lines
1021 B
Kotlin
Vendored
plugins {
|
|
kotlin("multiplatform") version "1.3.21"
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
kotlin {
|
|
jvm()
|
|
js()
|
|
macosX64()
|
|
linuxX64()
|
|
mingwX64()
|
|
|
|
sourceSets {
|
|
val commonMain by getting {
|
|
dependencies {
|
|
implementation(kotlin("stdlib-common"))
|
|
}
|
|
}
|
|
|
|
val commonTest by getting {
|
|
dependencies {
|
|
implementation(kotlin("test-common"))
|
|
implementation(kotlin("test-annotations-common"))
|
|
}
|
|
}
|
|
|
|
jvm().compilations["main"].defaultSourceSet {
|
|
dependencies {
|
|
implementation(kotlin("stdlib-jdk8"))
|
|
}
|
|
}
|
|
|
|
jvm().compilations["test"].defaultSourceSet {
|
|
dependencies {
|
|
implementation(kotlin("test-junit"))
|
|
}
|
|
}
|
|
|
|
js().compilations["main"].defaultSourceSet {
|
|
dependencies {
|
|
implementation(kotlin("stdlib-js"))
|
|
}
|
|
}
|
|
}
|
|
}
|