You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by vl...@apache.org on 2019/11/16 07:53:24 UTC

[calcite-avatica] branch master updated: Bump release plugins 1.43.0 -> 1.46.0: avoid failures on Gralde upgrade, fix gitignore handling

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

vladimirsitnikov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/calcite-avatica.git


The following commit(s) were added to refs/heads/master by this push:
     new 63df6fe  Bump release plugins 1.43.0 -> 1.46.0: avoid failures on Gralde upgrade, fix gitignore handling
63df6fe is described below

commit 63df6fe3351350a69999eddd8f3e590beb2962b9
Author: Vladimir Sitnikov <si...@gmail.com>
AuthorDate: Sat Nov 16 10:53:00 2019 +0300

    Bump release plugins 1.43.0 -> 1.46.0: avoid failures on Gralde upgrade, fix gitignore handling
---
 .github/workflows/main.yml | 15 +++++++++++++++
 build.gradle.kts           |  6 +++++-
 gradle.properties          | 11 +++++++----
 settings.gradle.kts        |  2 +-
 4 files changed, 28 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index fed0181..221bcab 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -1,3 +1,18 @@
+# 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.
+#
 name: CI
 
 on:
diff --git a/build.gradle.kts b/build.gradle.kts
index c6598d0..3a3013c 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -112,6 +112,10 @@ val rat by tasks.getting(org.nosphere.apache.rat.RatTask::class) {
     exclude(rootDir.resolve(".ratignore").readLines())
 }
 
+tasks.validateBeforeBuildingReleaseArtifacts {
+    dependsOn(rat)
+}
+
 val String.v: String get() = rootProject.extra["$this.version"] as String
 
 val buildVersion = "calcite.avatica".v + releaseParams.snapshotSuffix
@@ -148,7 +152,7 @@ releaseParams {
             })
         }
     }
-    validateReleaseParams += Runnable {
+    validateBeforeBuildingReleaseArtifacts += Runnable {
         if (useGpgCmd && findProperty("signing.gnupg.keyName") == null) {
             throw GradleException("Please specify signing key id via signing.gnupg.keyName " +
                     "(see https://github.com/gradle/gradle/issues/8657)")
diff --git a/gradle.properties b/gradle.properties
index ea5176a..5c7478d 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -14,6 +14,9 @@
 #   limitations under the License.
 
 org.gradle.parallel=true
+# See https://github.com/gradle/gradle/pull/11358 , https://issues.apache.org/jira/browse/INFRA-14923
+# repository.apache.org does not yet support .sha256 and .sha512 checksums
+systemProp.org.gradle.internal.publish.checksums.insecure=true
 kotlin.parallel.tasks.in.project=true
 
 # This is version for Calcite Avatica itself
@@ -28,10 +31,10 @@ calcite.avatica.version=1.16.0
 # Plugins
 com.github.johnrengelman.shadow.version=5.1.0
 com.github.spotbugs.version=2.0.0
-com.github.vlsi.crlf.version=1.45.0
-com.github.vlsi.ide.version=1.45.0
-com.github.vlsi.license-gather.version=1.45.0
-com.github.vlsi.stage-vote-release.version=1.45.0
+com.github.vlsi.crlf.version=1.46.0
+com.github.vlsi.ide.version=1.46.0
+com.github.vlsi.license-gather.version=1.46.0
+com.github.vlsi.stage-vote-release.version=1.46.0
 com.google.protobuf.version=0.8.10
 de.thetaphi.forbiddenapis.version=2.7
 org.jetbrains.gradle.plugin.idea-ext.version=0.5
diff --git a/settings.gradle.kts b/settings.gradle.kts
index e67e548..172d4aa 100644
--- a/settings.gradle.kts
+++ b/settings.gradle.kts
@@ -36,7 +36,7 @@ pluginManagement {
 
 // This is the name of a current project
 // Note: it cannot be inferred from the directory name as developer might clone Avatica to avatica_tmp folder
-rootProject.name = "avatica-parent"
+rootProject.name = "calcite-avatica"
 
 include(
         "bom",