From ddf8047ebd92b009b4990023b2f2b6b2f53bb6c0 Mon Sep 17 00:00:00 2001 From: Jonas Tobias Hopusch Date: Sat, 12 Mar 2022 03:13:30 +0100 Subject: [PATCH] Disable modularization The modularization file was heavily interfering with the addition and usage of the commons-cli dependency which does not have a static module name. Since the benefits it gave this very small application were miniscule, I have decided to delete / comment out all relevant configuration --- build.gradle.kts | 6 +++--- src/main/java/module-info.java | 2 -- 2 files changed, 3 insertions(+), 5 deletions(-) delete mode 100644 src/main/java/module-info.java diff --git a/build.gradle.kts b/build.gradle.kts index f989cfc..33d7497 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -40,8 +40,8 @@ tasks.jar { attributes( "Implementation-Title" to project.name, "Implementation-Version" to project.version, - "Main-Class" to "de.jotoho.waituntil.Main", - "Main-Module" to "de.jotoho.waituntil.main" + "Main-Class" to "de.jotoho.waituntil.Main" + //"Main-Module" to "de.jotoho.waituntil.main" ) } } @@ -49,5 +49,5 @@ tasks.jar { application { // Define the main class for the application. mainClass.set("de.jotoho.waituntil.Main") - mainModule.set("de.jotoho.waituntil.main") + //mainModule.set("de.jotoho.waituntil.main") } diff --git a/src/main/java/module-info.java b/src/main/java/module-info.java deleted file mode 100644 index 72e6d14..0000000 --- a/src/main/java/module-info.java +++ /dev/null @@ -1,2 +0,0 @@ -module de.jotoho.waituntil.main { -} \ No newline at end of file