Skip to content

Commit

Permalink
define JPMS module names
Browse files Browse the repository at this point in the history
_This change is similar to Incendo/cloud#787
  • Loading branch information
Djaytan committed Jan 14, 2025
1 parent b05e09c commit ba4cd25
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,11 @@ dependencies {
testImplementation(libs.mockito.jupiter)
testImplementation(libs.truth)
}

tasks {
jar {
manifest {
attributes("Automatic-Module-Name" to "%s.%s".format(project.group, project.name.replace('-', '.')))
}
}
}

0 comments on commit ba4cd25

Please sign in to comment.