Skip to content

Commit 18c8eab

Browse files
committed
define JPMS module names
_This change is similar to Incendo/cloud#787
1 parent 168ac80 commit 18c8eab

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

gradle/build-logic/src/main/kotlin/cloud-discord.base-conventions.gradle.kts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,11 @@ dependencies {
3030
testImplementation(libs.mockito.jupiter)
3131
testImplementation(libs.truth)
3232
}
33+
34+
tasks {
35+
jar {
36+
manifest {
37+
attributes("Automatic-Module-Name" to "%s.%s".format(project.group, project.name.replace('-', '.')))
38+
}
39+
}
40+
}

0 commit comments

Comments
 (0)