Skip to content

Commit ba4cd25

Browse files
committed
define JPMS module names
_This change is similar to Incendo/cloud#787
1 parent b05e09c commit ba4cd25

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,11 @@ dependencies {
3636
testImplementation(libs.mockito.jupiter)
3737
testImplementation(libs.truth)
3838
}
39+
40+
tasks {
41+
jar {
42+
manifest {
43+
attributes("Automatic-Module-Name" to "%s.%s".format(project.group, project.name.replace('-', '.')))
44+
}
45+
}
46+
}

0 commit comments

Comments
 (0)