diff --git a/ballerina/Ballerina.toml b/ballerina/Ballerina.toml index f217d3a1..263a387c 100644 --- a/ballerina/Ballerina.toml +++ b/ballerina/Ballerina.toml @@ -21,11 +21,17 @@ path = "../native/build/libs/crypto-native-2.7.0-SNAPSHOT.jar" [[platform.java17.dependency]] groupId = "org.bouncycastle" artifactId = "bcpkix-jdk18on" -version = "1.77" -path = "./lib/bcpkix-jdk18on-1.77.jar" +version = "1.78" +path = "./lib/bcpkix-jdk18on-1.78.jar" [[platform.java17.dependency]] groupId = "org.bouncycastle" artifactId = "bcprov-jdk18on" -version = "1.77" -path = "./lib/bcprov-jdk18on-1.77.jar" +version = "1.78" +path = "./lib/bcprov-jdk18on-1.78.jar" + +[[platform.java17.dependency]] +groupId = "org.bouncycastle" +artifactId = "bcutil-jdk18on" +version = "1.78" +path = "./lib/bcutil-jdk18on-1.78.jar" diff --git a/ballerina/build.gradle b/ballerina/build.gradle index a53bb0cf..48a206d6 100644 --- a/ballerina/build.gradle +++ b/ballerina/build.gradle @@ -73,6 +73,9 @@ dependencies { externalJars(group: 'org.bouncycastle', name: 'bcprov-jdk18on', version: "${bouncycastleVersion}") { transitive = false } + externalJars(group: 'org.bouncycastle', name: 'bcutil-jdk18on', version: "${bouncycastleVersion}") { + transitive = false + } } task updateTomlFiles { diff --git a/build-config/resources/Ballerina.toml b/build-config/resources/Ballerina.toml index 2df47ec0..3b60a703 100644 --- a/build-config/resources/Ballerina.toml +++ b/build-config/resources/Ballerina.toml @@ -29,3 +29,9 @@ groupId = "org.bouncycastle" artifactId = "bcprov-jdk18on" version = "@bouncycastle.version@" path = "./lib/bcprov-jdk18on-@bouncycastle.version@.jar" + +[[platform.java17.dependency]] +groupId = "org.bouncycastle" +artifactId = "bcutil-jdk18on" +version = "@bouncycastle.version@" +path = "./lib/bcutil-jdk18on-@bouncycastle.version@.jar" diff --git a/gradle.properties b/gradle.properties index 1a7589dc..f09f109b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,7 +2,7 @@ org.gradle.caching=true group=io.ballerina.stdlib version=2.7.0-SNAPSHOT puppycrawlCheckstyleVersion=10.12.0 -bouncycastleVersion=1.77 +bouncycastleVersion=1.78 githubSpotbugsVersion=5.0.14 githubShadowVersion=7.1.2 undercouchDownloadVersion=5.4.0 diff --git a/native/build.gradle b/native/build.gradle index 06fc30f3..5fbf4ee0 100644 --- a/native/build.gradle +++ b/native/build.gradle @@ -31,6 +31,7 @@ dependencies { implementation group: 'io.ballerina.stdlib', name: 'time-native', version: "${stdlibTimeVersion}" implementation group: 'org.bouncycastle', name: 'bcpkix-jdk18on', version: "${bouncycastleVersion}" implementation group: 'org.bouncycastle', name: 'bcprov-jdk18on', version: "${bouncycastleVersion}" + implementation group: 'org.bouncycastle', name: 'bcutil-jdk18on', version: "${bouncycastleVersion}" compileOnly group: 'org.graalvm.nativeimage', name: 'svm', version: "${nativeImageVersion}" }