Skip to content

Commit

Permalink
Merge pull request #113 from Lana11s/master
Browse files Browse the repository at this point in the history
Configure Manifest task to create valid OSGi bundle
  • Loading branch information
bbakerman committed Mar 21, 2022
2 parents 388c4fd + 0640745 commit 16e88d6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ plugins {
id 'java-library'
id 'maven-publish'
id 'signing'
id "biz.aQute.bnd.builder" version "6.2.0"
id "io.github.gradle-nexus.publish-plugin" version "1.0.0"
}

Expand Down Expand Up @@ -61,7 +62,9 @@ apply plugin: 'groovy'

jar {
manifest {
attributes('Automatic-Module-Name': 'com.graphqljava')
attributes('Automatic-Module-Name': 'com.graphqljava',
'-exportcontents': 'org.dataloader.*',
'-removeheaders': 'Private-Package')
}
}

Expand Down

0 comments on commit 16e88d6

Please sign in to comment.