Skip to content

Commit

Permalink
Set an "Automatic-Module-Name" for each module
Browse files Browse the repository at this point in the history
Closes gh-910

Signed-off-by: Rossen Stoyanchev <rstoyanchev@vmware.com>
  • Loading branch information
rstoyanchev committed May 14, 2021
1 parent 42e98f2 commit c337cba
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rsocket-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,10 @@ dependencies {
testRuntimeOnly 'org.junit.vintage:junit-vintage-engine'
}

jar {
manifest {
attributes("Automatic-Module-Name": "rsocket.core")
}
}

description = "Core functionality for the RSocket library"
6 changes: 6 additions & 0 deletions rsocket-micrometer/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,10 @@ dependencies {
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
}

jar {
manifest {
attributes("Automatic-Module-Name": "rsocket.micrometer")
}
}

description = 'Transparent Metrics exposure to Micrometer'
6 changes: 6 additions & 0 deletions rsocket-test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,10 @@ dependencies {
implementation 'junit:junit'
}

jar {
manifest {
attributes("Automatic-Module-Name": "rsocket.test")
}
}

description = 'Test utilities for RSocket projects'
6 changes: 6 additions & 0 deletions rsocket-transport-local/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,10 @@ dependencies {
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
}

jar {
manifest {
attributes("Automatic-Module-Name": "rsocket.transport.local")
}
}

description = 'Local RSocket transport implementation'
6 changes: 6 additions & 0 deletions rsocket-transport-netty/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,10 @@ dependencies {
testRuntimeOnly 'io.netty:netty-tcnative-boringssl-static' + os_suffix
}

jar {
manifest {
attributes("Automatic-Module-Name": "rsocket.transport.netty")
}
}

description = 'Reactor Netty RSocket transport implementations (TCP, Websocket)'

0 comments on commit c337cba

Please sign in to comment.