Skip to content

Commit

Permalink
build: make some package imports optional
Browse files Browse the repository at this point in the history
...that caused problems after the bnd update.

ING-3236
  • Loading branch information
stempler committed Oct 28, 2023
1 parent b6fbbef commit a465132
Show file tree
Hide file tree
Showing 2 changed files with 1,069 additions and 524 deletions.
6 changes: 6 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ platform {
'org.xml.sax.*',
'javax.activation.*',
'com.sun.xml.internal.*',
'sun.nio.*',
// cal10n.api
'javax.tools.*',
'javax.lang.model.*',
Expand Down Expand Up @@ -727,6 +728,11 @@ platform {
instruction 'Export-Package', "*;version=$version"
}

bnd group: 'jline', name: 'jline', {
// make some imports optional which showed up after upgrading bnd
optionalImport 'sun.misc', 'com.cloudius.util'
}

// library fixes
//
// suppress Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.1))" generated by bnd - Eclipse chokes on it
Expand Down
Loading

0 comments on commit a465132

Please sign in to comment.