2017-12-16 19:30:54 +00:00
|
|
|
apply plugin: 'kotlin-platform-jvm'
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2018-09-18 17:26:45 +00:00
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
|
2017-12-16 19:30:54 +00:00
|
|
|
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"
|
|
|
|
}
|
2017-12-16 19:30:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
publishing {
|
|
|
|
publications {
|
|
|
|
mavenJava(MavenPublication) {
|
|
|
|
from components.java
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|