Kenneth Knowles created BEAM-4107:
-------------------------------------
Summary: Do not force our fixed dependency versions on all
configurations, but only those we know about
Key: BEAM-4107
URL: https://issues.apache.org/jira/browse/BEAM-4107
Project: Beam
Issue Type: Sub-task
Components: build-system
Reporter: Kenneth Knowles
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:
{code}
apply plugin: 'net.ltgt.errorprone'
dependencies {
errorprone 'com.google.guava:guava:22.0'
errorprone 'com.google.errorprone:error_prone_core:2.2.0'
}
{code}
But our build_rules.gradle has a bug that makes this not work, because we do:
{code}
configurations.all {
resolutionStrategy {
force library.java.values()
}
}
{code}
Instead of this "big hammer" approach, we should figure out a correct way to
configure things. Possibly this should just be a whitelist of a few Java
configurations.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)