You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by gu...@apache.org on 2023/11/16 04:03:44 UTC

(calcite) branch main updated: [CALCITE-6081] Remove bouncycastle dependency

This is an automated email from the ASF dual-hosted git repository.

guohongyu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/calcite.git


The following commit(s) were added to refs/heads/main by this push:
     new a300dd6ca7 [CALCITE-6081] Remove bouncycastle dependency
a300dd6ca7 is described below

commit a300dd6ca743c5b043a80769d5f4ed11dad0cc03
Author: macroguo <ma...@tencent.com>
AuthorDate: Tue Oct 31 20:04:53 2023 +0800

    [CALCITE-6081] Remove bouncycastle dependency
---
 bom/build.gradle.kts | 2 --
 build.gradle.kts     | 1 +
 gradle.properties    | 1 -
 3 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/bom/build.gradle.kts b/bom/build.gradle.kts
index 06c98d389e..58aa51a84c 100644
--- a/bom/build.gradle.kts
+++ b/bom/build.gradle.kts
@@ -119,8 +119,6 @@ dependencies {
         apiv("org.apache.pig:pigunit", "pig")
         apiv("org.apache.spark:spark-core_2.10", "spark")
         apiv("org.apiguardian:apiguardian-api")
-        apiv("org.bouncycastle:bcpkix-jdk15on", "bouncycastle")
-        apiv("org.bouncycastle:bcprov-jdk15on", "bouncycastle")
         apiv("net.bytebuddy:byte-buddy")
         apiv("org.cassandraunit:cassandra-unit")
         apiv("org.codehaus.janino:commons-compiler", "janino")
diff --git a/build.gradle.kts b/build.gradle.kts
index f026c48583..dc6a91658e 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -339,6 +339,7 @@ allprojects {
         configurations {
             "implementation" {
                 exclude(group = "org.jetbrains", module = "annotations")
+                exclude(group = "org.bouncycastle", module = "bcprov-jdk15on")
             }
         }
     }
diff --git a/gradle.properties b/gradle.properties
index cdcb9aae9e..9ba8504689 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -84,7 +84,6 @@ jandex.version=2.2.3.Final
 aggdesigner-algorithm.version=6.0
 apiguardian-api.version=1.1.2
 asm.version=7.2
-bouncycastle.version=1.60
 byte-buddy.version=1.9.3
 cassandra-all.version=4.0.1
 cassandra-java-driver-core.version=4.13.0