Skip to content

Commit

Permalink
Make Error Prone dependence compileOnly (#50)
Browse files Browse the repository at this point in the history
Whenever NullAway runs, it must be loaded via Error Prone. Hence, I believe that the Error Prone Check APIs should always be available. Making the errorProneCheckApi a compileOnly dependence should reduce the size of the annotation processor classpath in some cases, which could speed up builds and avoid some incompatibilities like in #48.
  • Loading branch information
msridhar authored Oct 30, 2017
1 parent 6e1458f commit 4ded11c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nullaway/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ dependencies {
compileOnly deps.apt.autoValue
compileOnly deps.apt.autoService

shadow deps.build.errorProneCheckApi
compileOnly deps.build.errorProneCheckApi
compile deps.build.checkerDataflow

errorprone deps.build.errorProneCore
Expand All @@ -53,7 +53,7 @@ dependencies {
testCompile deps.apt.javaxInject
testCompile deps.test.rxjava2

epJavac deps.build.errorProneCore
epJavac deps.build.errorProneCheckApi
epJavac deps.build.checkerDataflow
}

Expand Down

0 comments on commit 4ded11c

Please sign in to comment.