Details
-
Improvement
-
Status: Open
-
P3
-
Resolution: Unresolved
-
None
-
None
Description
One example is the errorprone plugin has its own configuration which has nothing to do with our code. To use a different version of guava we do:
apply plugin: 'net.ltgt.errorprone' dependencies { errorprone 'com.google.guava:guava:22.0' errorprone 'com.google.errorprone:error_prone_core:2.2.0' }
But our build_rules.gradle has a bug that makes this not work, because we do:
configurations.all { resolutionStrategy { force library.java.values() } }
Instead of this "big hammer" approach, we should figure out a correct way to configure things. Possibly this should just be a list of a few Java configurations.