Skip to content

Commit

Permalink
Merge pull request #1249 from amergey/osgi
Browse files Browse the repository at this point in the history
restore osgi headers in manifest (backport)
  • Loading branch information
jhouserizer authored Nov 4, 2024
2 parents 914f4da + 9ec1a0f commit 26943ad
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,10 @@ allprojects {
"Implementation-Vendor-Id": project.group,
"Implementation-Version": project.version,
"Built-By": System.getProperty("user.name"),
"Built-JDK": System.getProperty("java.version")
"Built-JDK": System.getProperty("java.version"),
"-removeheaders": 'Private-Package',
"Export-Package": 'org.quartz.*',
"Import-Package": '*;resolution:=optional'
)
}
}
Expand Down
1 change: 1 addition & 0 deletions quartz-jobs/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
id 'java-library'
id 'maven-publish'
id 'biz.aQute.bnd.builder'
}

dependencies {
Expand Down
3 changes: 2 additions & 1 deletion quartz/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
id 'java-library'
id 'maven-publish'
id 'biz.aQute.bnd.builder'
}

repositories {
Expand Down Expand Up @@ -70,4 +71,4 @@ processResources {
filesMatching('**/quartz-build.properties') {
expand([version: project.version, fullname: project.fullname, name: project.name])
}
}
}
1 change: 1 addition & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
pluginManagement {
plugins {
id("io.github.gradle-nexus.publish-plugin") version '2.0.0'
id ("biz.aQute.bnd.builder") version '6.4.0'
}
}

Expand Down

0 comments on commit 26943ad

Please sign in to comment.