From c8dba6da199d3059c074ce4d86e5a6490956478d Mon Sep 17 00:00:00 2001 From: modmuss50 Date: Tue, 23 Apr 2024 16:24:51 +0100 Subject: 1.20.5 --- build.gradle | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'build.gradle') 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 } } -- cgit v1.2.3-70-g09d2