From 4e7118b24366c3a4f7d7401683aca34dc7074e10 Mon Sep 17 00:00:00 2001 From: Viktor Klang Date: Tue, 5 Jul 2022 21:07:22 +0200 Subject: [PATCH] Fixing #540 by manually overriding the Bundle-SymbolicName for the BND plugin --- api/build.gradle | 3 ++- examples/build.gradle | 3 ++- tck-flow/build.gradle | 3 ++- tck/build.gradle | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/api/build.gradle b/api/build.gradle index 42f65540..c953a381 100644 --- a/api/build.gradle +++ b/api/build.gradle @@ -25,7 +25,8 @@ jar { 'Bundle-DocURL': 'http://reactive-streams.org', 'Bundle-Version': project.version, 'Export-Package': 'org.reactivestreams.*', - 'Automatic-Module-Name': 'org.reactivestreams' + 'Automatic-Module-Name': 'org.reactivestreams', + 'Bundle-SymbolicName': 'org.reactivestreams.reactive-streams' ) } diff --git a/examples/build.gradle b/examples/build.gradle index c04398ef..ec4ee871 100644 --- a/examples/build.gradle +++ b/examples/build.gradle @@ -11,7 +11,8 @@ jar { 'Bundle-DocURL': 'http://reactive-streams.org', 'Bundle-Version': project.version, 'Export-Package': 'org.reactivestreams.example.*', - 'Automatic-Module-Name': 'org.reactivestreams.examples' + 'Automatic-Module-Name': 'org.reactivestreams.examples', + 'Bundle-SymbolicName': 'org.reactivestreams.examples' ) } diff --git a/tck-flow/build.gradle b/tck-flow/build.gradle index 95a72f1e..2dd1d409 100644 --- a/tck-flow/build.gradle +++ b/tck-flow/build.gradle @@ -11,7 +11,8 @@ jar { 'Bundle-DocURL': 'http://reactive-streams.org', 'Bundle-Version': project.version, 'Export-Package': 'org.reactivestreams.tck.flow.*', - 'Automatic-Module-Name': 'org.reactivestreams.tckflow' + 'Automatic-Module-Name': 'org.reactivestreams.tckflow', + 'Bundle-SymbolicName': 'org.reactivestreams.tckflow' ) } diff --git a/tck/build.gradle b/tck/build.gradle index 969964b7..b5424c9f 100644 --- a/tck/build.gradle +++ b/tck/build.gradle @@ -12,7 +12,8 @@ jar { 'Bundle-DocURL': 'http://reactive-streams.org', 'Bundle-Version': project.version, 'Export-Package': 'org.reactivestreams.tck.*', - 'Automatic-Module-Name': 'org.reactivestreams.tck' + 'Automatic-Module-Name': 'org.reactivestreams.tck', + 'Bundle-SymbolicName': 'org.reactivestreams.tck' ) }