From 76f22f68a59864f26d7f28688f32f4d018116238 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Basl=C3=A9?= Date: Thu, 19 Oct 2017 17:58:51 +0200 Subject: [PATCH] fix #903 Improve OSGI Import-Package see discussion in PR #907 - kotlin packages are optional - removed unused com.google entry - javax.annotation (JSR 305) are excluded --- build.gradle | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index f5c78cd07d..9340471c05 100644 --- a/build.gradle +++ b/build.gradle @@ -67,8 +67,9 @@ ext { bundleImportPackages = ['org.slf4j;resolution:=optional;version="[1.5.4,2)"', - 'rx;resolution:=optional', - 'com.google;resolution:=optional', + 'kotlin.*;resolution:=optional', + '!javax.annotation', + '!javax.annotation.meta', '*'] }