cea612cba4
^KT-34503 In Progress (current behaviour is undesired, see next commit for fix)
56 lines
1.1 KiB
Groovy
Vendored
56 lines
1.1 KiB
Groovy
Vendored
plugins {
|
|
id 'org.jetbrains.kotlin.multiplatform' version '1.3.61'
|
|
}
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
group 'com.example'
|
|
version '0.0.1'
|
|
|
|
apply plugin: 'maven-publish'
|
|
|
|
kotlin {
|
|
jvm()
|
|
js {
|
|
browser {
|
|
}
|
|
nodejs {
|
|
}
|
|
}
|
|
|
|
sourceSets {
|
|
commonMain {
|
|
dependencies {
|
|
implementation kotlin('stdlib-common')
|
|
}
|
|
}
|
|
commonTest {
|
|
dependencies {
|
|
implementation kotlin('test-common')
|
|
implementation kotlin('test-annotations-common')
|
|
}
|
|
}
|
|
jvmMain {
|
|
dependencies {
|
|
implementation kotlin('stdlib-jdk8')
|
|
}
|
|
}
|
|
jvmTest {
|
|
dependencies {
|
|
implementation kotlin('test')
|
|
implementation kotlin('test-junit')
|
|
}
|
|
}
|
|
jsMain {
|
|
dependencies {
|
|
implementation kotlin('stdlib-js')
|
|
}
|
|
}
|
|
jsTest {
|
|
dependencies {
|
|
implementation kotlin('test-js')
|
|
}
|
|
}
|
|
}
|
|
}
|