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.git
The following commit(s) were added to refs/heads/master by this push:
new ee9f35c Bump release-plugins: 1.61 -> 1.65
ee9f35c is described below
commit ee9f35c286b36f6ba131f3797d4d9ab5d36cf3d5
Author: Vladimir Sitnikov <[email protected]>
AuthorDate: Mon Mar 23 13:38:00 2020 +0300
Bump release-plugins: 1.61 -> 1.65
---
build.gradle.kts | 19 ++++++++++---------
gradle.properties | 2 +-
2 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/build.gradle.kts b/build.gradle.kts
index 53f64c2..5fab812 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -17,6 +17,7 @@
import com.github.spotbugs.SpotBugsTask
import com.github.vlsi.gradle.crlf.CrLfSpec
import com.github.vlsi.gradle.crlf.LineEndings
+import com.github.vlsi.gradle.dsl.configureEach
import com.github.vlsi.gradle.git.FindGitAttributes
import com.github.vlsi.gradle.git.dsl.gitignore
import com.github.vlsi.gradle.properties.dsl.lastEditYear
@@ -323,7 +324,7 @@ allprojects {
tasks.register("checkstyleAll") {
dependsOn(tasks.withType<Checkstyle>())
}
- tasks.withType<Checkstyle>().configureEach {
+ tasks.configureEach<Checkstyle> {
// Excludes here are faster than in suppressions.xml
// Since here we can completely remove file from the analysis.
// On the other hand, supporessions.xml still analyzes the file,
and
@@ -344,7 +345,7 @@ allprojects {
}
}
- tasks.withType<AbstractArchiveTask>().configureEach {
+ tasks.configureEach<AbstractArchiveTask> {
// Ensure builds are reproducible
isPreserveFileTimestamps = false
isReproducibleFileOrder = true
@@ -353,7 +354,7 @@ allprojects {
}
tasks {
- withType<Javadoc>().configureEach {
+ configureEach<Javadoc> {
excludeJavaCcGenerated()
(options as StandardJavadocDocletOptions).apply {
// Please refrain from using non-ASCII chars below since the
options are passed as
@@ -497,7 +498,7 @@ allprojects {
}
tasks {
- withType<Jar>().configureEach {
+ configureEach<Jar> {
manifest {
attributes["Bundle-License"] = "Apache-2.0"
attributes["Implementation-Title"] = "Apache Calcite"
@@ -510,7 +511,7 @@ allprojects {
}
}
- withType<CheckForbiddenApis>().configureEach {
+ configureEach<CheckForbiddenApis> {
excludeJavaCcGenerated()
exclude(
"**/org/apache/calcite/adapter/os/Processes${'$'}ProcessFactory.class",
@@ -522,10 +523,10 @@ allprojects {
)
}
- withType<JavaCompile>().configureEach {
+ configureEach<JavaCompile> {
options.encoding = "UTF-8"
}
- withType<Test>().configureEach {
+ configureEach<Test> {
useJUnitPlatform {
excludeTags("slow")
}
@@ -564,7 +565,7 @@ allprojects {
}
jvmArgs("-Xmx6g")
}
- withType<SpotBugsTask>().configureEach {
+ configureEach<SpotBugsTask> {
group = LifecycleBasePlugin.VERIFICATION_GROUP
if (enableSpotBugs) {
description = "$description (skipped by default, to enable
it add -Dspotbugs)"
@@ -578,7 +579,7 @@ allprojects {
afterEvaluate {
// Add default license/notice when missing
- withType<Jar>().configureEach {
+ configureEach<Jar> {
CrLfSpec(LineEndings.LF).run {
into("META-INF") {
filteringCharset = "UTF-8"
diff --git a/gradle.properties b/gradle.properties
index 08e8937..a60e5de 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -41,7 +41,7 @@ calcite.avatica.version=1.16.0
com.github.autostyle.version=3.0
com.github.johnrengelman.shadow.version=5.1.0
com.github.spotbugs.version=2.0.0
-com.github.vlsi.vlsi-release-plugins.version=1.61
+com.github.vlsi.vlsi-release-plugins.version=1.65
com.google.protobuf.version=0.8.10
de.thetaphi.forbiddenapis.version=2.7
kotlin.version=1.3.50