Files
Ilya Kirillov 0f799d593d Wizard: specify test platform to use on JVM
#KT-37965 fixed
2020-09-09 00:20:57 +03:00

33 lines
621 B
Groovy
Vendored

plugins {
id 'org.jetbrains.kotlin.multiplatform' version 'KOTLIN_VERSION'
}
group = 'testGroupId'
version = '1.0-SNAPSHOT'
repositories {
mavenCentral()
maven {
url 'https://dl.bintray.com/kotlin/kotlin-dev'
}
}
kotlin {
jvm {
compilations.all {
kotlinOptions.jvmTarget = '1.8'
}
withJava()
testRuns["test"].executionTask.configure {
useJUnit()
}
}
sourceSets {
jvmMain {
}
jvmTest {
dependencies {
implementation kotlin('test-junit')
}
}
}
}