This commit is contained in:
modmuss50 2024-04-23 16:24:51 +01:00
parent 453617dda0
commit c8dba6da19
6 changed files with 13 additions and 13 deletions

View file

@ -50,7 +50,7 @@ processResources {
}
tasks.withType(JavaCompile).configureEach {
it.options.release = 17
it.options.release = 21
}
java {
@ -59,8 +59,8 @@ java {
// If you remove this line, sources will not be generated.
withSourcesJar()
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}
jar {
@ -73,6 +73,7 @@ jar {
publishing {
publications {
create("mavenJava", MavenPublication) {
artifactId = project.archives_base_name
from components.java
}
}