We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aff80f4 commit 204e796Copy full SHA for 204e796
build.gradle
@@ -1,5 +1,6 @@
1
plugins {
2
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
3
+ id("biz.aQute.bnd.builder") version "6.2.0"
4
}
5
6
apply plugin: 'maven-publish'
@@ -108,6 +109,18 @@ dependencies {
108
109
integrationTest213 jacksonDatabind + '2.13.0'
110
111
112
+jar {
113
+ // define OSGi bundle manifest
114
+ bundle {
115
+ bnd(
116
+ "Bundle-Name": "bson4jackson",
117
+ "Bundle-SymbolicName": "de.undercouch.bson4jackson",
118
+ "Bundle-Vendor": "Michel Kraemer",
119
+ '-exportcontents': "de.undercouch.*;version=${version}"
120
+ )
121
+ }
122
+}
123
+
124
task doIntegrationTest21(type: Test) {
125
useJUnit {
126
excludeCategories 'de.undercouch.bson4jackson.RequiresJackson_v2_3'
0 commit comments