4e91f1c607
Needed for support latest syntax of Gradle dsl for js
32 lines
653 B
Kotlin
Vendored
32 lines
653 B
Kotlin
Vendored
plugins {
|
|
kotlin("multiplatform") version "KOTLIN_VERSION"
|
|
}
|
|
group = "testGroupId"
|
|
version = "1.0-SNAPSHOT"
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven {
|
|
url = uri("https://dl.bintray.com/kotlin/kotlin-dev")
|
|
}
|
|
}
|
|
kotlin {
|
|
jvm {
|
|
compilations.all {
|
|
kotlinOptions.jvmTarget = "1.8"
|
|
}
|
|
withJava()
|
|
}
|
|
sourceSets {
|
|
val jvmMain by getting {
|
|
dependencies {
|
|
implementation(kotlin("stdlib-jdk8"))
|
|
}
|
|
}
|
|
val jvmTest by getting {
|
|
dependencies {
|
|
implementation(kotlin("test-junit"))
|
|
}
|
|
}
|
|
}
|
|
} |