bc-java icon indicating copy to clipboard operation
bc-java copied to clipboard

How to build bcprov-jdk15on-<version>.jar with Gradle?

Open SMUsamaShah opened this issue 3 years ago • 1 comments

Version 1.56

Gradle build on bcprov creates prov-1.56-SNAPSHOT.jar which is very different from the bcprov-jdk15on-156.jar I get with ./build15+ ant/bash script.

How to build the same jar as ./build15+ with Gradle?

SMUsamaShah avatar May 10 '21 17:05 SMUsamaShah

If you build using the current Gradle script (based on Gradle 6) using Java 8, you should get something close to what you get with the ./build15+ script - the only difference at the moment being the lack of lcrypto. It just has "jdk15to18" in the name instead.

Note the actual bcprov-jdk15on jars are multi-release jars, with the alternate classes being added as a separate process.

dghgit avatar Jun 13 '21 14:06 dghgit