[ 
https://issues.apache.org/jira/browse/BEAM-3697?focusedWorklogId=95661&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-95661
 ]

ASF GitHub Bot logged work on BEAM-3697:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 26/Apr/18 17:33
            Start Date: 26/Apr/18 17:33
    Worklog Time Spent: 10m 
      Work Description: lukecwik commented on a change in pull request #5161: 
[BEAM-3697] Add errorprone to Gradle build
URL: https://github.com/apache/beam/pull/5161#discussion_r184469077
 
 

 ##########
 File path: build.gradle
 ##########
 @@ -62,6 +62,7 @@ buildscript {
     classpath "com.github.jengelman.gradle.plugins:shadow:2.0.1"               
                         // Enable shading Java dependencies
     classpath "ca.coglinc:javacc-gradle-plugin:2.4.0"                          
                         // Enable the JavaCC parser generator
     classpath 
"gradle.plugin.io.pry.gradle.offline_dependencies:gradle-offline-dependencies-plugin:0.3"
 // Enable creating an offline repository
+    classpath "net.ltgt.gradle:gradle-errorprone-plugin:0.0.13"
 
 Review comment:
   Add comment stating what the plugin does, its not always obvious like this 
one is but having the comment will make it consistent for where people look.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 95661)
    Time Spent: 2h  (was: 1h 50m)

> Add errorprone to gradle builds
> -------------------------------
>
>                 Key: BEAM-3697
>                 URL: https://issues.apache.org/jira/browse/BEAM-3697
>             Project: Beam
>          Issue Type: Sub-task
>          Components: build-system
>            Reporter: Eugene Kirpichov
>            Assignee: Kenneth Knowles
>            Priority: Major
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> [http://errorprone.info/] is a good static checker that covers a number of 
> bugs not covered by FindBugs or Checkstyle. We use it internally at Google 
> and, when run on the Beam codebase, it occasionally uncovers issues missed 
> during PR review process.
>  
> It has Maven and Gradle plugins:
> [http://errorprone.info/docs/installation]
> [https://github.com/tbroyer/gradle-errorprone-plugin]
>  
> It would be good to integrate it into our Maven and Gradle builds.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to