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 35ab865 commit 7f6704c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions cloud-spring/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ javadocLinks {
"org.springframework.shell:spring-shell-starter",
"org.springframework.shell:spring-shell-standard-commands",
"org.apache.tomcat.embed",
"org.jline:jline-console",
"org.jline:jline-native",
"org.apache.logging.log4j:log4j-to-slf4j",
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,11 @@ dependencies {
testImplementation(libs.truth)
testImplementation(libs.awaitility)
}

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

0 comments on commit 7f6704c

Please sign in to comment.