Skip to content

Commit 7d643d8

Browse files
author
Ben Fortuna
committed
Added OSGi metadata to kickstart artefact and externalised BND config for easier management.
1 parent 4dc7ac0 commit 7d643d8

File tree

4 files changed

+10
-1
lines changed

4 files changed

+10
-1
lines changed

graphql-java-kickstart/bnd.bnd

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Export-Package: graphql.kickstart.*

graphql-java-kickstart/build.gradle

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
apply plugin: 'biz.aQute.bnd.builder'
2+
3+
jar {
4+
bndfile = 'bnd.bnd'
5+
}
6+
17
dependencies {
28
// GraphQL
39
compile "com.graphql-java:graphql-java:$LIB_GRAPHQL_JAVA_VER"

graphql-java-servlet/bnd.bnd

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Export-Package: graphql.kickstart.*
2+
Require-Capability: osgi.extender

graphql-java-servlet/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ apply plugin: 'java-library-distribution'
1010
apply plugin: 'biz.aQute.bnd.builder'
1111

1212
jar {
13-
bnd ('Require-Capability': 'osgi.extender')
13+
bndfile = 'bnd.bnd'
1414
}
1515

1616
dependencies {

0 commit comments

Comments
 (0)