NoIssue: Fix for build, run and publish
This commit is contained in:
@@ -46,7 +46,7 @@ java {
|
||||
toolchain { languageVersion.set(JavaLanguageVersion.of(25)) }
|
||||
}
|
||||
|
||||
tasks.withType<JavaCompile> {
|
||||
tasks.withType<JavaCompile>().configureEach {
|
||||
options.release.set(25)
|
||||
options.compilerArgs.add("--enable-preview")
|
||||
}
|
||||
@@ -57,7 +57,7 @@ tasks.register<Sync>("prepareLibs") {
|
||||
group = "distribution"
|
||||
description = "Copies runtime deps to build/libs without deleting the app jar"
|
||||
|
||||
val jarTask = tasks.named<Jar>("jar")
|
||||
val jarTask = tasks.named<Jar>("jar")
|
||||
dependsOn(jarTask)
|
||||
|
||||
into(libsDir)
|
||||
|
||||
Reference in New Issue
Block a user