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

lcwik pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new f97b04a  release vendor calcite
     new cde2c71  Merge pull request #9333 from vectorijk/release-vendor-calcite
f97b04a is described below

commit f97b04ab0a112a8fc59b9919cf06cf955c044d79
Author: Kai Jiang <j...@uber.com>
AuthorDate: Tue Aug 13 15:29:37 2019 -0700

    release vendor calcite
---
 settings.gradle                    |  1 +
 vendor/calcite-1_20_0/build.gradle | 63 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 64 insertions(+)

diff --git a/settings.gradle b/settings.gradle
index 8a2ec8e..6fc34d1 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -143,6 +143,7 @@ include ":sdks:python:test-suites:tox:py36"
 include ":sdks:python:test-suites:tox:py37"
 include ":vendor:grpc-1_21_0"
 include ":vendor:bytebuddy-1_9_3"
+include ":vendor:calcite-1_20_0"
 include ":vendor:sdks-java-extensions-protobuf"
 include ":vendor:guava-26_0-jre"
 include ":website"
diff --git a/vendor/calcite-1_20_0/build.gradle 
b/vendor/calcite-1_20_0/build.gradle
new file mode 100644
index 0000000..09d9fa6
--- /dev/null
+++ b/vendor/calcite-1_20_0/build.gradle
@@ -0,0 +1,63 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * License); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+plugins { id 'org.apache.beam.vendor-java' }
+
+description = "Apache Beam :: Vendored Dependencies :: Calcite 1.20.0"
+
+group = "org.apache.beam"
+version = "0.1"
+
+def calcite_version = "1.20.0"
+def avatica_version = "1.15.0"
+def prefix = "org.apache.beam.vendor.calcite.v1_20_0"
+
+List<String> packagesToRelocate = [
+        "com.esri",
+        "com.google.common",
+        "com.google.thirdparty",
+        "com.google.protobuf",
+        "com.fasterxml",
+        "com.jayway",
+        "com.yahoo",
+        "org.apache.calcite",
+        "org.apache.commons",
+        "org.apache.http",
+        "org.codehaus",
+        "org.pentaho",
+        "org.yaml"
+]
+
+vendorJava(
+        dependencies: [
+                "org.apache.calcite:calcite-core:$calcite_version",
+                "org.apache.calcite:calcite-linq4j:$calcite_version",
+                "org.apache.calcite.avatica:avatica-core:$avatica_version",
+                library.java.protobuf_java,
+                library.java.slf4j_api
+        ],
+        relocations: packagesToRelocate.collectEntries {
+            [ (it): "${prefix}.${it}" ]
+        },
+        exclusions: [
+                "org/slf4j/**"
+        ],
+        groupId: group,
+        artifactId: "beam-vendor-calcite-1_20_0",
+        version: version,
+)

Reply via email to