Skip to content

Commit

Permalink
Fix kotlin-spring not building when interfaceOnly=true
Browse files Browse the repository at this point in the history
Fixes #18803
  • Loading branch information
Philzen committed May 31, 2024
1 parent ab031e2 commit b30c380
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "17"
}

{{#interfaceOnly}}
tasks.bootJar {
enabled = false
}

{{/interfaceOnly}}
plugins {
val kotlinVersion = "1.7.10"
id("org.jetbrains.kotlin.jvm") version kotlinVersion
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}

{{#interfaceOnly}}
tasks.bootJar {
enabled = false
}

{{/interfaceOnly}}
plugins {
val kotlinVersion = "1.6.21"
id("org.jetbrains.kotlin.jvm") version kotlinVersion
Expand Down

0 comments on commit b30c380

Please sign in to comment.