Skip to content

Commit

Permalink
[build] update gradle-errorprone-plugin to 1.1.0
Browse files Browse the repository at this point in the history
Problem
The plugin for error-prone is out of date

Solution
Update the plugin.
  • Loading branch information
grimreaper committed Jun 19, 2020
1 parent 4fd405d commit ad348c0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Expand Up @@ -7,7 +7,7 @@ buildscript {

dependencies {
classpath 'gradle.plugin.nl.javadude.gradle.plugins:license-gradle-plugin:0.14.0'
classpath 'net.ltgt.gradle:gradle-errorprone-plugin:0.6'
classpath 'net.ltgt.gradle:gradle-errorprone-plugin:1.1.0'

//Using buildscript.classpath so that we can resolve shipkit from maven local, during local testing
classpath 'org.shipkit:shipkit:2.1.6'
Expand Down
4 changes: 4 additions & 0 deletions gradle/errorprone.gradle
Expand Up @@ -10,3 +10,7 @@ if (JavaVersion.current() == JavaVersion.VERSION_1_8) {
dependencies {
errorprone libraries.errorprone
}

tasks.named("compileTestJava").configure {
options.errorprone.errorproneArgs.add("-Xep:MockitoCast:OFF")
}

0 comments on commit ad348c0

Please sign in to comment.