Skip to content

Commit

Permalink
Add Automatic-Module-Name attribute to jar manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
AsamK committed May 21, 2023
1 parent a196fb8 commit 1df7512
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions java/client/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ java {
withJavadocJar()
}

tasks.named('jar') {
manifest {
attributes('Automatic-Module-Name': 'org.signal.libsignal')
}
}

processResources {
// TODO: Build a different variant of the JNI library for server.
dependsOn ':makeJniLibrariesDesktop'
Expand Down
6 changes: 6 additions & 0 deletions java/server/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ java {
withJavadocJar()
}

tasks.named('jar') {
manifest {
attributes('Automatic-Module-Name': 'org.signal.libsignal')
}
}

processResources {
// TODO: Build a different variant of the JNI library for server.
dependsOn ':makeJniLibrariesDesktop'
Expand Down

0 comments on commit 1df7512

Please sign in to comment.