@@ -79,17 +79,18 @@ jar.dependsOn writeSshjVersionProperties
79
79
80
80
jar {
81
81
manifest {
82
+ // please see http://bnd.bndtools.org/chapters/390-wrapping.html
82
83
instruction " Bundle-Description" , " SSHv2 library for Java"
83
84
instruction " Bundle-License" , " http://www.apache.org/licenses/LICENSE-2.0.txt"
84
- instruction " Import-Package" , " !net.schmizz.* "
85
- instruction " Import-Package " , " javax.crypto* "
86
- instruction " Import-Package " , " !net.i2p.crypto.eddsa.math "
87
- instruction " Import-Package " , " net.i2p* "
88
- instruction " Import-Package " , " com.jcraft.jzlib*;version= \" [1.1,2) \" ;resolution:=optional "
89
- instruction " Import-Package " , " org.slf4j*;version= \" [1.7,5) \" "
90
- instruction " Import-Package " , " org.bouncycastle* "
91
- instruction " Import-Package " , " * "
92
- instruction " Export-Package" , " net.schmizz.*"
85
+ instruction " Import-Package" , \
86
+ " com.jcraft.jzlib*;version= \" [1.1,2) \" ;resolution:=optional " , \
87
+ " !com.hierynomus.sshj.* " , " !net.schmizz.* " , \
88
+ " ! net.i2p.crypto.eddsa.math " , \
89
+ " * "
90
+ instruction " Require-Bundle " , \
91
+ " bcprov;bundle-version= \" $b ouncycastleVersion \" ;resolution:=optional " , \
92
+ " bcprov;bundle-version= \" $b ouncycastleVersion \" ;resolution:=optional "
93
+ instruction " Export-Package" , " com.hierynomus.sshj.* " , " net.schmizz.*"
93
94
}
94
95
}
95
96
0 commit comments