@@ -16,15 +16,14 @@ dependencies {
1616 implementation project(' :core' )
1717 implementation project(' :prov' )
1818 implementation project(' :util' )
19- implementation files(" $bc_prov " )
20- implementation project(path : ' :core' )
2119
2220 java9Implementation project(' :prov' )
2321 java9Implementation project(' :util' )
2422 java9Implementation files(sourceSets. main. output. classesDirs) {
2523 builtBy compileJava
2624 }
2725
26+ testImplementation group : ' junit' , name : ' junit' , version : ' 4.13.2'
2827}
2928
3029compileJava {
@@ -43,7 +42,7 @@ compileJava9Java {
4342 sourceCompatibility = 9
4443 targetCompatibility = 9
4544 options. compilerArgs + = [
46- ' --module-path' , " ${ bc_prov} "
45+ ' --module-path' , " ${ bc_prov}${ File.pathSeparator }${ bc_util } "
4746 ]
4847
4948 options. sourcepath = files([' src/main/java' , ' src/main/jdk1.9' ])
7069 }
7170 manifest. attributes(' Multi-Release' : ' true' )
7271 manifest. attributes(' Bundle-RequiredExecutionEnvironment' : ' JavaSE-1.8' )
72+ manifest. attributes(' Bundle-Name' : ' bcpg' )
73+ manifest. attributes(' Bundle-SymbolicName' : ' bcpg' )
7374 manifest. attributes(' Export-Package' : ' org.bouncycastle.{apache|bcpg|gpg|openpgp}.*' )
74- manifest. attributes(' Import-Package' : ' java.*;resolution:=optional; javax.*;resolution:=optional' )
75+ manifest. attributes(' Import-Package' : " java.*;resolution:=optional, javax.*;resolution:=optional,!org.bouncycastle.{apache|bcpg|gpg|openpgp|}.*,org.bouncycastle.*;version= \" ${ version } \" " )
7576}
7677
7778
0 commit comments