@@ -41,8 +41,8 @@ application {
4141}
4242
4343java {
44- sourceCompatibility = JavaVersion .VERSION_17
45- targetCompatibility = JavaVersion .VERSION_17
44+ sourceCompatibility = JavaVersion .VERSION_11
45+ targetCompatibility = JavaVersion .VERSION_11
4646 withJavadocJar()
4747 withSourcesJar()
4848}
@@ -73,7 +73,7 @@ dependencies {
7373 testImplementation(" io.kotest:kotest-assertions-core-jvm:$kotestVersion " ) // for kotest core jvm assertions
7474 testImplementation(" org.jetbrains.kotlin:kotlin-test-junit5:$kotlinVersion " )
7575 testRuntimeOnly(" org.junit.jupiter:junit-jupiter-engine:$junitJupiterVersion " )
76- // example use with different frameworks
76+ // example use with different frameworks
7777 testImplementation(" org.springframework.boot:spring-boot-starter-webflux:$springBootVersion " )
7878 testImplementation(" org.springframework.boot:spring-boot-starter-oauth2-resource-server:$springBootVersion " )
7979 testImplementation(" org.springframework.boot:spring-boot-starter-oauth2-client:$springBootVersion " )
@@ -188,7 +188,7 @@ jib {
188188 os = " linux"
189189 }
190190 }
191- image = " gcr.io/distroless/java17 -debian11"
191+ image = " gcr.io/distroless/java11 -debian11"
192192 }
193193 container {
194194 ports = listOf (" 8080" )
@@ -255,7 +255,7 @@ tasks {
255255
256256 withType< org.jetbrains.kotlin.gradle.tasks.KotlinCompile > {
257257 kotlinOptions {
258- jvmTarget = " 17 "
258+ jvmTarget = JavaVersion . VERSION_11 .toString()
259259 }
260260 }
261261
@@ -274,6 +274,6 @@ tasks {
274274 }
275275
276276 withType<Wrapper > {
277- gradleVersion = " 7.5.1 "
277+ gradleVersion = " 7.4.2 "
278278 }
279279}
0 commit comments