Skip to content

Commit

Permalink
Use errorprone_version instead of hardcoding.
Browse files Browse the repository at this point in the history
  • Loading branch information
ibzib committed Mar 8, 2021
1 parent c6963d6 commit d5961df
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,7 @@ class BeamModulePlugin implements Plugin<Project> {
errorproneJavac("com.google.errorprone:javac:9+181-r4173-1")
}

project.configurations.errorprone { resolutionStrategy.force 'com.google.errorprone:error_prone_core:2.3.4' }
project.configurations.errorprone { resolutionStrategy.force "com.google.errorprone:error_prone_core:$errorprone_version" }

project.tasks.withType(JavaCompile) {
options.errorprone.disableWarningsInGeneratedCode = true
Expand Down

0 comments on commit d5961df

Please sign in to comment.