kmath/kmath-jvm/build.gradle

38 lines
764 B
Groovy

plugins{
id "kotlin-platform-jvm"
id "me.champeau.gradle.jmh" version "0.4.5"
}
repositories {
mavenCentral()
}
dependencies {
expectedBy project(":kmath-common")
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
testCompile "junit:junit:4.12"
testCompile "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version"
testCompile "org.jetbrains.kotlin:kotlin-test:$kotlin_version"
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
sourceCompatibility = "1.8"
kotlin {
experimental {
coroutines "enable"
}
}
publishing {
publications {
defaultPublication(MavenPublication) {
from components.java
}
}
}