From ca04684c057a67c84649daa68360715cb479e7d5 Mon Sep 17 00:00:00 2001 From: Claus Ibsen Date: Mon, 7 Jun 2021 09:14:32 +0200 Subject: [PATCH] Fixes #731 to add OSGi export package to MANIFEST.MF so json-path works in OSGi again (#732) --- json-path/build.gradle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/json-path/build.gradle b/json-path/build.gradle index b5d75f05..5046ae0e 100644 --- a/json-path/build.gradle +++ b/json-path/build.gradle @@ -6,7 +6,8 @@ jar { baseName 'json-path' bnd ( 'Implementation-Title': 'json-path', 'Implementation-Version': version, - 'Import-Package': 'org.json.*;resolution:=optional, com.google.gson.*;resolution:=optional, com.fasterxml.jackson.*;resolution:=optional, org.apache.tapestry5.json.*;resolution:=optional, org.codehaus.jettison.*;resolution:=optional, *' + 'Import-Package': 'org.json.*;resolution:=optional, com.google.gson.*;resolution:=optional, com.fasterxml.jackson.*;resolution:=optional, org.apache.tapestry5.json.*;resolution:=optional, org.codehaus.jettison.*;resolution:=optional, *', + 'Export-Package': 'com.jayway.jsonpath,com.jayway.jsonpath.spi,com.jayway.jsonpath.spi.cache,com.jayway.jsonpath.spi.json,com.jayway.jsonpath.spi.mapper' ) }