Skip to content

Commit

Permalink
[Build] Add errorprone dependency to our gradle file
Browse files Browse the repository at this point in the history
Starting from this fall, we will require all builder methods in our codebase to be annotated with @CanIgnoreReturnValue.

PiperOrigin-RevId: 468613150
  • Loading branch information
drchen authored and leticiarossi committed Aug 22, 2022
1 parent 41eb6d0 commit 52ebb77
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ ext {
dynamicanimation : '1.0.0',
]

errorproneVersion = '2.15.0'
testRunnerVersion = '1.4.0'
espressoVersion = '3.1.0'
mockitoCoreVersion = '2.25.0'
Expand Down
2 changes: 2 additions & 0 deletions catalog/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ dependencies {

api compatibility("recyclerViewSelection")

implementation "com.google.errorprone:error_prone_annotations:${errorproneVersion}"

androidTestImplementation "androidx.test:core:${project.rootProject.ext.testRunnerVersion}"
androidTestImplementation "androidx.test:runner:${project.rootProject.ext.testRunnerVersion}"
androidTestImplementation "androidx.test:rules:${project.rootProject.ext.testRunnerVersion}"
Expand Down
2 changes: 2 additions & 0 deletions lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ dependencies {
api compatibility("vectordrawable")
api compatibility("viewpager2")

implementation "com.google.errorprone:error_prone_annotations:${errorproneVersion}"

testImplementation "androidx.test:core:${testRunnerVersion}"
testImplementation "androidx.test:runner:${testRunnerVersion}"
testImplementation "junit:junit:4.13.2"
Expand Down

0 comments on commit 52ebb77

Please sign in to comment.