Skip to content

Commit

Permalink
OSGification
Browse files Browse the repository at this point in the history
 - Supplement JAR manifest with headers required to use library in OSGi environment

 - Whitelist instead of blacklist for public API packages

 - Upgrade 'biz.aQute.bnd.builder' plugin to latest available version (7.0.0)
  • Loading branch information
ideas-into-software committed Oct 24, 2023
1 parent 802849c commit 06d5fbd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ plugins {
id("me.champeau.jmh") version "0.7.1"
id("info.solidsoft.pitest") version "1.9.11"
id("ru.vyarus.animalsniffer") version "1.7.1"
id("biz.aQute.bnd.builder") version "6.4.0"
id("biz.aQute.bnd.builder") version "7.0.0"
}

group = "de.siegmar"
Expand Down Expand Up @@ -123,8 +123,8 @@ tasks.jmh {
tasks.jar {
manifest {
attributes("Bundle-SymbolicName" to "de.siegmar.fastcsv",
"-exportcontents" to "!de.siegmar.fastcsv.util, *",
"-removeheaders" to "Private-Package")
"-exportcontents" to "de.siegmar.fastcsv.reader.*, de.siegmar.fastcsv.writer.*",
"-removeheaders" to "Private-Package")
}
}

Expand Down

0 comments on commit 06d5fbd

Please sign in to comment.