From 406cbf7268175b28a597dd6e65a4c5b0f9ff883d Mon Sep 17 00:00:00 2001 From: William Date: Wed, 3 May 2023 20:49:44 +0100 Subject: [PATCH] Bump to 2.0.4, specify automatic module name --- build.gradle | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index 98a6888..af9dce4 100644 --- a/build.gradle +++ b/build.gradle @@ -6,7 +6,7 @@ plugins { } group 'net.william278' -version '2.0.3' +version '2.0.4' defaultTasks 'licenseFormat', 'build' repositories { @@ -23,10 +23,16 @@ dependencies { testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.3' } -compileJava.options.encoding = 'UTF-8' - -tasks.withType(JavaCompile).configureEach { - options.encoding = 'UTF-8' +tasks { + compileJava { + options.encoding = 'UTF-8' + options.release.set(11) + } + jar { + manifest { + attributes('Automatic-Module-Name': 'net.william278.desertwell') + } + } } license {