Skip to content

Commit

Permalink
Merge pull request #56 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 Apr 14, 2022
2 parents ff3865b + c885c60 commit f770172
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ plugins {
id 'maven-publish'
id 'signing'
id "io.github.gradle-nexus.publish-plugin" version "1.0.0"
id "biz.aQute.bnd.builder" version "6.2.0"
}

def getDevelopmentVersion() {
Expand Down Expand Up @@ -135,3 +136,10 @@ tasks.withType(PublishToMavenRepository) {
dependsOn build
}

jar {
manifest {
attributes('Automatic-Module-Name': 'graphql-java-extended-scalars',
'-exportcontents': 'graphql.scalars.*',
'-removeheaders': 'Private-Package')
}
}

0 comments on commit f770172

Please sign in to comment.