You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/06/03 21:10:55 UTC

[GitHub] [beam] kennknowles opened a new issue, #18881: Do not force our fixed dependency versions on all configurations, but only those we know about

kennknowles opened a new issue, #18881:
URL: https://github.com/apache/beam/issues/18881

   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.
   
   Imported from Jira [BEAM-4107](https://issues.apache.org/jira/browse/BEAM-4107). Original Jira may contain additional context.
   Reported by: kenn.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org