mirror of
https://github.com/hierynomus/sshj.git
synced 2025-12-06 15:20:54 +03:00
Updated OSGi bundling (Fixes #255 again)
This commit is contained in:
19
build.gradle
19
build.gradle
@@ -79,17 +79,18 @@ jar.dependsOn writeSshjVersionProperties
|
|||||||
|
|
||||||
jar {
|
jar {
|
||||||
manifest {
|
manifest {
|
||||||
|
// please see http://bnd.bndtools.org/chapters/390-wrapping.html
|
||||||
instruction "Bundle-Description", "SSHv2 library for Java"
|
instruction "Bundle-Description", "SSHv2 library for Java"
|
||||||
instruction "Bundle-License", "http://www.apache.org/licenses/LICENSE-2.0.txt"
|
instruction "Bundle-License", "http://www.apache.org/licenses/LICENSE-2.0.txt"
|
||||||
instruction "Import-Package", "!net.schmizz.*"
|
instruction "Import-Package", \
|
||||||
instruction "Import-Package", "javax.crypto*"
|
"com.jcraft.jzlib*;version=\"[1.1,2)\";resolution:=optional", \
|
||||||
instruction "Import-Package", "!net.i2p.crypto.eddsa.math"
|
"!com.hierynomus.sshj.*", "!net.schmizz.*", \
|
||||||
instruction "Import-Package", "net.i2p*"
|
"!net.i2p.crypto.eddsa.math", \
|
||||||
instruction "Import-Package", "com.jcraft.jzlib*;version=\"[1.1,2)\";resolution:=optional"
|
"*"
|
||||||
instruction "Import-Package", "org.slf4j*;version=\"[1.7,5)\""
|
instruction "Require-Bundle", \
|
||||||
instruction "Import-Package", "org.bouncycastle*"
|
"bcprov;bundle-version=\"$bouncycastleVersion\";resolution:=optional", \
|
||||||
instruction "Import-Package", "*"
|
"bcprov;bundle-version=\"$bouncycastleVersion\";resolution:=optional"
|
||||||
instruction "Export-Package", "net.schmizz.*"
|
instruction "Export-Package", "com.hierynomus.sshj.*", "net.schmizz.*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user