Skip to content

Commit 7f6704c

Browse files
committed
define JPMS module names
_This change is similar to Incendo/cloud#787
1 parent 35ab865 commit 7f6704c

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

cloud-spring/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ javadocLinks {
4242
"org.springframework.shell:spring-shell-starter",
4343
"org.springframework.shell:spring-shell-standard-commands",
4444
"org.apache.tomcat.embed",
45+
"org.jline:jline-console",
4546
"org.jline:jline-native",
4647
"org.apache.logging.log4j:log4j-to-slf4j",
4748
)

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

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

0 commit comments

Comments
 (0)