aboutsummaryrefslogtreecommitdiffstats
path: root/build.gradle
diff options
context:
space:
mode:
authorLibravatar modmuss50 <[email protected]>2024-04-23 16:24:51 +0100
committerLibravatar modmuss50 <[email protected]>2024-04-23 16:24:51 +0100
commitc8dba6da199d3059c074ce4d86e5a6490956478d (patch)
tree99ec41b3a3a32696248cf35cc0d6018c7e4d98a6 /build.gradle
parentUpdate to loom 1.6 (diff)
1.20.5
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle7
1 files changed, 4 insertions, 3 deletions
diff --git a/build.gradle b/build.gradle
index a14d12b..8446969 100644
--- a/build.gradle
+++ b/build.gradle
@@ -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
}
}