diff options
Diffstat (limited to 'build.gradle')
| -rw-r--r-- | build.gradle | 7 |
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 } } |
