diff --git a/gradle/javaLibsProject.gradle b/gradle/javaLibsProject.gradle index fa5e2ff33a83..df8abfb7cff5 100644 --- a/gradle/javaLibsProject.gradle +++ b/gradle/javaLibsProject.gradle @@ -40,7 +40,7 @@ dependencies { dist 'org.wso2.securevault:org.wso2.securevault:1.0.0-wso2v2' dist 'org.wso2.transport.file:org.wso2.transport.local-file-system:6.0.55' dist 'org.wso2.transport.http:org.wso2.transport.http.netty:6.3.48' - dist 'org.bouncycastle:bcprov-jdk15on:1.73' + dist 'org.bouncycastle:bcprov-jdk18on:1.73' dist 'org.bouncycastle:bcpkix-jdk15on:1.61' dist 'info.picocli:picocli:4.0.1' diff --git a/gradle/javaProject.gradle b/gradle/javaProject.gradle index 5b35ab5d4f9d..b3c367613aeb 100644 --- a/gradle/javaProject.gradle +++ b/gradle/javaProject.gradle @@ -75,7 +75,7 @@ dependencies { implementation 'org.codehaus.woodstox:stax2-api:4.2.1' implementation 'org.awaitility:awaitility:3.1.6' implementation 'org.apache.thrift:libthrift:0.14.1' - implementation 'org.bouncycastle:bcprov-jdk15on:1.73' + implementation 'org.bouncycastle:bcprov-jdk18on:1.73' implementation 'org.bouncycastle:bcpkix-jdk15on:1.61' implementation 'org.bytedeco.javacpp-presets:llvm-platform:6.0.1-1.4.2' implementation 'org.codehaus.plexus:plexus-utils:3.0.8' diff --git a/stdlib/grpc/src/main/ballerina/Ballerina.toml b/stdlib/grpc/src/main/ballerina/Ballerina.toml index 4192af787418..b5b85411e543 100644 --- a/stdlib/grpc/src/main/ballerina/Ballerina.toml +++ b/stdlib/grpc/src/main/ballerina/Ballerina.toml @@ -111,9 +111,9 @@ target = "java8" modules = ["grpc"] [[platform.libraries]] - artifactId = "bcprov-jdk15on" + artifactId = "bcprov-jdk18on" version = "1.73" - path = "./lib/bcprov-jdk15on-1.73.jar" + path = "./lib/bcprov-jdk18on-1.73.jar" groupId = "org.bouncycastle" modules = ["grpc"] diff --git a/stdlib/http/build.gradle b/stdlib/http/build.gradle index 5f4832241d24..76edb5ad400e 100644 --- a/stdlib/http/build.gradle +++ b/stdlib/http/build.gradle @@ -94,7 +94,7 @@ dependencies { implementation 'org.wso2.carbon.messaging:org.wso2.carbon.messaging' implementation 'org.apache.commons:commons-lang3' implementation 'org.jvnet.mimepull:mimepull' - implementation 'org.bouncycastle:bcprov-jdk15on' + implementation 'org.bouncycastle:bcprov-jdk18on' implementation 'org.bouncycastle:bcpkix-jdk15on' testCompile project(path: ':ballerina-mime', configuration: 'tests') testCompile project(path: ':ballerina-test-common', configuration: 'tests') diff --git a/stdlib/http/src/main/ballerina/Ballerina.toml b/stdlib/http/src/main/ballerina/Ballerina.toml index 3edcfb9b55a8..a5b9121d5182 100644 --- a/stdlib/http/src/main/ballerina/Ballerina.toml +++ b/stdlib/http/src/main/ballerina/Ballerina.toml @@ -104,9 +104,9 @@ target = "java8" modules = ["http"] [[platform.libraries]] - artifactId = "bcprov-jdk15on" + artifactId = "bcprov-jdk18on" version = "1.73" - path = "./lib/bcprov-jdk15on-1.73.jar" + path = "./lib/bcprov-jdk18on-1.73.jar" groupId = "org.bouncycastle" modules = ["http"] diff --git a/stdlib/mime/src/main/ballerina/Ballerina.toml b/stdlib/mime/src/main/ballerina/Ballerina.toml index cc02ab0c82ca..82b09824aa3e 100644 --- a/stdlib/mime/src/main/ballerina/Ballerina.toml +++ b/stdlib/mime/src/main/ballerina/Ballerina.toml @@ -111,9 +111,9 @@ target = "java8" modules = ["mime"] [[platform.libraries]] - artifactId = "bcprov-jdk15on" + artifactId = "bcprov-jdk18on" version = "1.73" - path = "./lib/bcprov-jdk15on-1.73.jar" + path = "./lib/bcprov-jdk18on-1.73.jar" groupId = "org.bouncycastle" modules = ["mime"] diff --git a/stdlib/websub/src/main/ballerina/Ballerina.toml b/stdlib/websub/src/main/ballerina/Ballerina.toml index b3fb1e6ad99b..487b309a2cf0 100644 --- a/stdlib/websub/src/main/ballerina/Ballerina.toml +++ b/stdlib/websub/src/main/ballerina/Ballerina.toml @@ -104,9 +104,9 @@ target = "java8" modules = ["web-sub"] [[platform.libraries]] - artifactId = "bcprov-jdk15on" + artifactId = "bcprov-jdk18on" version = "1.73" - path = "./lib/bcprov-jdk15on-1.73.jar" + path = "./lib/bcprov-jdk18on-1.73.jar" groupId = "org.bouncycastle" modules = ["web-sub"] diff --git a/tests/ballerina-test-utils/build.gradle b/tests/ballerina-test-utils/build.gradle index ef7450bf8182..646443f49412 100644 --- a/tests/ballerina-test-utils/build.gradle +++ b/tests/ballerina-test-utils/build.gradle @@ -80,7 +80,7 @@ shadowJar { exclude(dependency('commons-pool.wso2:commons-pool')) exclude(dependency('commons-pool:commons-pool')) exclude(dependency('org.yaml:snakeyaml')) - exclude(dependency('org.bouncycastle:bcprov-jdk15on')) + exclude(dependency('org.bouncycastle:bcprov-jdk18on')) exclude(dependency('org.bouncycastle:bcpkix-jdk15on')) exclude(dependency('io.netty:netty-tcnative-boringssl-static')) exclude(dependency('org.testng:testng'))