NoIssue: Upgrade build for Java 25
This commit is contained in:
@@ -43,7 +43,11 @@ dependencies {
|
||||
}
|
||||
|
||||
java {
|
||||
toolchain { languageVersion.set(JavaLanguageVersion.of(24)) }
|
||||
toolchain { languageVersion.set(JavaLanguageVersion.of(25)) }
|
||||
}
|
||||
|
||||
tasks.withType<JavaCompile>().configureEach {
|
||||
options.release.set(25)
|
||||
}
|
||||
|
||||
val dockerLibsDir = layout.buildDirectory.dir("docker/libs")
|
||||
@@ -63,10 +67,6 @@ tasks.register<Sync>("prepareDockerLibs") {
|
||||
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
||||
}
|
||||
|
||||
tasks.withType<JavaCompile> {
|
||||
options.release.set(24)
|
||||
}
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
create<MavenPublication>("mavenJava") {
|
||||
|
||||
Reference in New Issue
Block a user