Skip to content

Commit c337cba

Browse files
committed
Set an "Automatic-Module-Name" for each module
Closes gh-910 Signed-off-by: Rossen Stoyanchev <[email protected]>
1 parent 42e98f2 commit c337cba

File tree

5 files changed

+30
-0
lines changed

5 files changed

+30
-0
lines changed

rsocket-core/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,10 @@ dependencies {
4545
testRuntimeOnly 'org.junit.vintage:junit-vintage-engine'
4646
}
4747

48+
jar {
49+
manifest {
50+
attributes("Automatic-Module-Name": "rsocket.core")
51+
}
52+
}
53+
4854
description = "Core functionality for the RSocket library"

rsocket-micrometer/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,10 @@ dependencies {
3737
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
3838
}
3939

40+
jar {
41+
manifest {
42+
attributes("Automatic-Module-Name": "rsocket.micrometer")
43+
}
44+
}
45+
4046
description = 'Transparent Metrics exposure to Micrometer'

rsocket-test/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,10 @@ dependencies {
3434
implementation 'junit:junit'
3535
}
3636

37+
jar {
38+
manifest {
39+
attributes("Automatic-Module-Name": "rsocket.test")
40+
}
41+
}
42+
3743
description = 'Test utilities for RSocket projects'

rsocket-transport-local/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,10 @@ dependencies {
3333
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
3434
}
3535

36+
jar {
37+
manifest {
38+
attributes("Automatic-Module-Name": "rsocket.transport.local")
39+
}
40+
}
41+
3642
description = 'Local RSocket transport implementation'

rsocket-transport-netty/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,10 @@ dependencies {
4646
testRuntimeOnly 'io.netty:netty-tcnative-boringssl-static' + os_suffix
4747
}
4848

49+
jar {
50+
manifest {
51+
attributes("Automatic-Module-Name": "rsocket.transport.netty")
52+
}
53+
}
54+
4955
description = 'Reactor Netty RSocket transport implementations (TCP, Websocket)'

0 commit comments

Comments
 (0)