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 a5ad992 commit 4a6b407
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
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('-', '.')))
}
}
}
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ graal = "0.9.28"
kotlin = "1.9.22"

# Cloud
cloud = "2.0.0-SNAPSHOT"
cloud = "2.0.0"

# External
immutables = "2.10.0"
Expand Down

0 comments on commit 4a6b407

Please sign in to comment.