From b7fcf17b5d4df95110a15914b33d87bef4a1f00b Mon Sep 17 00:00:00 2001 From: gudenau Date: Sat, 18 May 2024 10:59:41 -0500 Subject: [PATCH] Add basic module support via manifest attribute. --- build.gradle | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/build.gradle b/build.gradle index 9bd71f76..16d8ce9d 100644 --- a/build.gradle +++ b/build.gradle @@ -60,6 +60,14 @@ sourceSets { } } +jar { + manifest { + attributes( + 'Automatic-Module-Name': 'com.mojang.dfu' + ) + } +} + artifacts { archives jar archives sourcesJar