From 71bb51ac6dd0c33dfce54838597ec8daf1058a5e Mon Sep 17 00:00:00 2001 From: Mark Raynsford Date: Thu, 17 Oct 2019 11:07:15 +0100 Subject: [PATCH] Add Export-Package declarations for OSGi headers This adds the necessary declarations to the Bnd plugin to export all non-internal packages for use in an OSGi environment. Affects: https://github.com/ReactiveX/RxJava/issues/6671 --- build.gradle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 4b63ed551b..3b5feaf017 100644 --- a/build.gradle +++ b/build.gradle @@ -142,7 +142,8 @@ jar { 'Import-Package': '!org.junit,!junit.framework,!org.mockito.*,!org.testng.*,*', 'Bundle-DocURL': 'https://github.com/ReactiveX/RxJava', 'Eclipse-ExtensibleAPI': 'true', - 'Automatic-Module-Name': 'io.reactivex.rxjava3' + 'Automatic-Module-Name': 'io.reactivex.rxjava3', + 'Export-Package': '!io.reactivex.rxjava3.internal.*, io.reactivex.rxjava3.*' ) }