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

pabloem 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 dbac355  Update build plugins
     new 64507fe  Merge pull request #9325 from iemejia/update-plugins
dbac355 is described below

commit dbac3551b67a284789b073f0eddcea97206fe723
Author: Ismaël Mejía <ieme...@gmail.com>
AuthorDate: Mon Aug 12 23:38:14 2019 +0200

    Update build plugins
---
 .test-infra/metrics/build.gradle                             |  3 ++-
 build.gradle                                                 |  4 ++--
 buildSrc/build.gradle                                        | 10 +++++-----
 .../groovy/org/apache/beam/gradle/BeamModulePlugin.groovy    | 12 +++++++-----
 4 files changed, 16 insertions(+), 13 deletions(-)

diff --git a/.test-infra/metrics/build.gradle b/.test-infra/metrics/build.gradle
index 64fff94..bdcc040 100644
--- a/.test-infra/metrics/build.gradle
+++ b/.test-infra/metrics/build.gradle
@@ -31,7 +31,8 @@ dependencies {
 }
 
 task testMetricsStack {
-  doLast { // TODO(BEAM-5837): Add some actual validation of the metrics stack
+  doLast {
+    // TODO(BEAM-5837): Add some actual validation of the metrics stack
     println "Hello world!" }
 }
 dockerCompose.isRequiredBy(testMetricsStack)
diff --git a/build.gradle b/build.gradle
index 7189fc9..d7e7c06 100644
--- a/build.gradle
+++ b/build.gradle
@@ -19,12 +19,12 @@
 plugins {
   id 'base'
   // Enable publishing build scans
-  id 'com.gradle.build-scan' version '2.1' apply false
+  id 'com.gradle.build-scan' version '2.4' apply false
   // This plugin provides a task to determine which dependencies have updates.
   // Additionally, the plugin checks for updates to Gradle itself.
   //
   // See https://github.com/ben-manes/gradle-versions-plugin for further 
details.
-  id 'com.github.ben-manes.versions' version '0.17.0'
+  id 'com.github.ben-manes.versions' version '0.20.0'
   // Apply one top level rat plugin to perform any required license 
enforcement analysis
   id 'org.nosphere.apache.rat' version '0.4.0'
   // Enable gradle-based release management
diff --git a/buildSrc/build.gradle b/buildSrc/build.gradle
index b742416..27fde76 100644
--- a/buildSrc/build.gradle
+++ b/buildSrc/build.gradle
@@ -20,7 +20,7 @@
 plugins {
   id 'java-gradle-plugin'
   id 'groovy'
-  id "com.diffplug.gradle.spotless" version "3.17.0"
+  id "com.diffplug.gradle.spotless" version "3.24.0"
 }
 
 // Define the set of repositories required to fetch and enable plugins.
@@ -38,13 +38,13 @@ dependencies {
   compile gradleApi()
   compile localGroovy()
   compile 'com.github.jengelman.gradle.plugins:shadow:4.0.3'
-  compile 'gradle.plugin.com.github.spotbugs:spotbugs-gradle-plugin:1.6.9'     
                       // Enable spotbugs
+  compile 'gradle.plugin.com.github.spotbugs:spotbugs-gradle-plugin:2.0.0'     
                       // Enable spotbugs
 
   runtime "net.ltgt.gradle:gradle-apt-plugin:0.20"                             
                       // Enable a Java annotation processor
   runtime "com.google.protobuf:protobuf-gradle-plugin:0.8.5"                   
                       // Enable proto code generation
   runtime "io.spring.gradle:propdeps-plugin:0.0.9.RELEASE"                     
                       // Enable provided and optional configurations
   runtime "com.commercehub.gradle.plugin:gradle-avro-plugin:0.11.0"            
                       // Enable Avro code generation
-  runtime "com.diffplug.spotless:spotless-plugin-gradle:3.17.0"                
                       // Enable a code formatting plugin
+  runtime "com.diffplug.spotless:spotless-plugin-gradle:3.24.0"                
                       // Enable a code formatting plugin
   runtime "gradle.plugin.com.github.blindpirate:gogradle:0.11.4"               
                       // Enable Go code compilation
   runtime "gradle.plugin.com.palantir.gradle.docker:gradle-docker:0.20.1"      
                       // Enable building Docker containers
   runtime "gradle.plugin.com.dorongold.plugins:task-tree:1.3.1"                
                       // Adds a 'taskTree' task to print task dependency tree
@@ -54,8 +54,8 @@ dependencies {
   runtime "net.ltgt.gradle:gradle-errorprone-plugin:0.0.13"                    
                       // Enable errorprone Java static analysis
   runtime "org.ajoberstar.grgit:grgit-gradle:3.0.0"                            
                       // Enable website git publish to asf-site branch
   runtime "com.avast.gradle:gradle-docker-compose-plugin:0.8.8"                
                       // Enable docker compose tasks
-  runtime "ca.cutterslade.gradle:gradle-dependency-analyze:1.3.0"              
                       // Enable dep analysis
-  runtime "gradle.plugin.net.ossindex:ossindex-gradle-plugin:0.4.11"
+  runtime "ca.cutterslade.gradle:gradle-dependency-analyze:1.3.1"              
                       // Enable dep analysis
+  runtime "gradle.plugin.net.ossindex:ossindex-gradle-plugin:0.4.11"           
                       // Enable dep vulnerability analysis
 }
 
 // Because buildSrc is built and tested automatically _before_ gradle
diff --git 
a/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy 
b/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
index c2620e9..7902ceb 100644
--- a/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
+++ b/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
@@ -771,7 +771,7 @@ class BeamModulePlugin implements Plugin<Project> {
         // spotbugs-annotations artifact is licensed under LGPL and cannot be 
included in the
         // Apache Beam distribution, but may be relied on during build.
         // See: https://www.apache.org/legal/resolved.html#prohibited
-        "com.github.spotbugs:spotbugs-annotations:3.1.11",
+        "com.github.spotbugs:spotbugs-annotations:3.1.12",
         "net.jcip:jcip-annotations:1.0",
       ]
 
@@ -814,7 +814,7 @@ class BeamModulePlugin implements Plugin<Project> {
         showViolations = true
         maxErrors = 0
       }
-      project.checkstyle { toolVersion = "8.7" }
+      project.checkstyle { toolVersion = "8.23" }
 
       // Configures javadoc plugin and ensure check runs javadoc.
       project.tasks.withType(Javadoc) {
@@ -853,7 +853,7 @@ class BeamModulePlugin implements Plugin<Project> {
       if (configuration.enableSpotbugs) {
         project.apply plugin: 'com.github.spotbugs'
         project.dependencies {
-          spotbugs "com.github.spotbugs:spotbugs:3.1.10"
+          spotbugs "com.github.spotbugs:spotbugs:3.1.12"
           spotbugs "com.google.auto.value:auto-value:1.6.3"
           compileOnlyAnnotationDeps.each { dep -> spotbugs dep }
         }
@@ -1508,7 +1508,8 @@ class BeamModulePlugin implements Plugin<Project> {
     project.ext.applyGrpcNature = {
       project.apply plugin: "com.google.protobuf"
       project.protobuf {
-        protoc { // The artifact spec for the Protobuf Compiler
+        protoc {
+          // The artifact spec for the Protobuf Compiler
           artifact = "com.google.protobuf:protoc:3.6.0" }
 
         // Configure the codegen plugins
@@ -1583,7 +1584,8 @@ class BeamModulePlugin implements Plugin<Project> {
 
       project.apply plugin: "com.google.protobuf"
       project.protobuf {
-        protoc { // The artifact spec for the Protobuf Compiler
+        protoc {
+          // The artifact spec for the Protobuf Compiler
           artifact = "com.google.protobuf:protoc:3.7.1" }
 
         // Configure the codegen plugins

Reply via email to