Skip to content

Commit 526aaeb

Browse files
committed
Add automatic module name
1 parent 5c21b7f commit 526aaeb

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

build.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,14 @@ license {
4747
exclude '**/*.properties'
4848
}
4949

50+
tasks.named('jar', Jar) {
51+
manifest {
52+
attributes([
53+
'Automatic-Module-Name': 'net.minecraftforge.srgutils'
54+
])
55+
}
56+
}
57+
5058
publishing {
5159
publications.register('mavenJava', MavenPublication) {
5260
from components.java

0 commit comments

Comments
 (0)