ee2f0f45fc
They may differ sometimes as they depend on the latest Kotlin release
32 lines
584 B
Kotlin
Vendored
32 lines
584 B
Kotlin
Vendored
plugins {
|
|
kotlin("multiplatform") version "KOTLIN_VERSION"
|
|
}
|
|
|
|
group = "testGroupId"
|
|
version = "1.0-SNAPSHOT"
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven {
|
|
url = uri("KOTLIN_REPO")
|
|
}
|
|
}
|
|
|
|
kotlin {
|
|
jvm {
|
|
compilations.all {
|
|
kotlinOptions.jvmTarget = "1.8"
|
|
}
|
|
testRuns["test"].executionTask.configure {
|
|
useJUnit()
|
|
}
|
|
}
|
|
sourceSets {
|
|
val jvmMain by getting
|
|
val jvmTest by getting {
|
|
dependencies {
|
|
implementation(kotlin("test-junit"))
|
|
}
|
|
}
|
|
}
|
|
} |