Skip to content

Commit 4a6b407

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

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

gradle/build-logic/src/main/kotlin/cloud-cli.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+
}

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ graal = "0.9.28"
1616
kotlin = "1.9.22"
1717

1818
# Cloud
19-
cloud = "2.0.0-SNAPSHOT"
19+
cloud = "2.0.0"
2020

2121
# External
2222
immutables = "2.10.0"

0 commit comments

Comments
 (0)