Fix Kotlin jvmTarget for Java 17

This commit is contained in:
Artem Bilan
2025-02-06 15:54:00 -05:00
parent 5c95de9aea
commit a6e1bd923d

View File

@@ -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') {