[
https://issues.apache.org/jira/browse/BEAM-3697?focusedWorklogId=96267&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-96267
]
ASF GitHub Bot logged work on BEAM-3697:
----------------------------------------
Author: ASF GitHub Bot
Created on: 27/Apr/18 22:43
Start Date: 27/Apr/18 22:43
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_r184822550
##########
File path: build_rules.gradle
##########
@@ -489,6 +491,15 @@ ext.applyJavaNature = {
}
}
+ // Enable errorprone, not by default right now
+ if (configuration.enableErrorProne) {
+ apply plugin: 'net.ltgt.errorprone'
+ dependencies {
+ errorprone 'com.google.guava:guava:22.0'
Review comment:
When taking a look at the errorprone gradle plugin documentation, it says to
just specify the line below to use a fixed version. Any reason why you also
need to specify guava?
----------------------------------------------------------------
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:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 96267)
Time Spent: 2h 50m (was: 2h 40m)
> 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 50m
> 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)