Fix Kotlin jvmTarget for Java 17
This commit is contained in:
15
build.gradle
15
build.gradle
@@ -183,6 +183,15 @@ configure(javaProjects) { subproject ->
|
||||
options.encoding = 'UTF-8'
|
||||
}
|
||||
|
||||
compileTestKotlin {
|
||||
kotlinOptions {
|
||||
jvmTarget = JavaVersion.VERSION_17
|
||||
}
|
||||
compilerOptions {
|
||||
allWarningsAsErrors = true
|
||||
}
|
||||
}
|
||||
|
||||
eclipse {
|
||||
project {
|
||||
natures += 'org.springframework.ide.eclipse.core.springnature'
|
||||
@@ -444,12 +453,6 @@ project('spring-rabbit') {
|
||||
exclude group: 'org.hamcrest', module: 'hamcrest-core'
|
||||
}
|
||||
}
|
||||
|
||||
compileKotlin {
|
||||
compilerOptions {
|
||||
allWarningsAsErrors = true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
project('spring-rabbit-stream') {
|
||||
|
||||
Reference in New Issue
Block a user