Skip to content

Commit 16e88d6

Browse files
authored
Merge pull request #113 from Lana11s/master
Configure Manifest task to create valid OSGi bundle
2 parents 388c4fd + 0640745 commit 16e88d6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

build.gradle

+4-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ plugins {
55
id 'java-library'
66
id 'maven-publish'
77
id 'signing'
8+
id "biz.aQute.bnd.builder" version "6.2.0"
89
id "io.github.gradle-nexus.publish-plugin" version "1.0.0"
910
}
1011

@@ -61,7 +62,9 @@ apply plugin: 'groovy'
6162

6263
jar {
6364
manifest {
64-
attributes('Automatic-Module-Name': 'com.graphqljava')
65+
attributes('Automatic-Module-Name': 'com.graphqljava',
66+
'-exportcontents': 'org.dataloader.*',
67+
'-removeheaders': 'Private-Package')
6568
}
6669
}
6770

0 commit comments

Comments
 (0)