kotlin-result/jvm/build.gradle

37 lines
760 B
Groovy
Raw Normal View History

apply plugin: 'kotlin-platform-jvm'
repositories {
mavenCentral()
}
dependencies {
2018-09-18 17:26:45 +00:00
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
expectedBy project(":")
2018-09-18 17:26:45 +00:00
testImplementation "junit:junit:$junitVersion"
testImplementation "org.jetbrains.kotlin:kotlin-test-junit:$kotlinVersion"
testImplementation "org.jetbrains.kotlin:kotlin-test:$kotlinVersion"
}
compileKotlin {
kotlinOptions {
freeCompilerArgs = [ "-Xjsr305=strict" ]
jvmTarget = "1.8"
}
}
compileTestKotlin {
kotlinOptions {
freeCompilerArgs = [ "-Xjsr305=strict" ]
jvmTarget = "1.8"
}
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
}