Upgrade to Kotlin 1.1.3
This commit also enables Kotlin build with JDK 9 since this new version supports it.
This commit is contained in:
parent
97390fd939
commit
d57cd37266
|
|
@ -1,5 +1,5 @@
|
|||
buildscript {
|
||||
ext.kotlinVersion = '1.1.2-5'
|
||||
ext.kotlinVersion = '1.1.3'
|
||||
repositories {
|
||||
maven { url "https://repo.spring.io/plugins-release" }
|
||||
}
|
||||
|
|
@ -109,7 +109,6 @@ configure(allprojects) { project ->
|
|||
apply from: "${gradleScriptDir}/ide.gradle"
|
||||
apply from: "${gradleScriptDir}/sniffer.gradle"
|
||||
|
||||
if(!JavaVersion.current().java9Compatible) {
|
||||
apply plugin: "kotlin"
|
||||
compileKotlin {
|
||||
kotlinOptions.jvmTarget = "1.8"
|
||||
|
|
@ -120,7 +119,6 @@ configure(allprojects) { project ->
|
|||
kotlinOptions.jvmTarget = "1.8"
|
||||
kotlinOptions.freeCompilerArgs = ["-Xskip-runtime-version-check"]
|
||||
}
|
||||
}
|
||||
|
||||
configurations.all {
|
||||
// Check for updates every build
|
||||
|
|
|
|||
Loading…
Reference in New Issue