You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Beam JIRA Bot (Jira)" <ji...@apache.org> on 2021/03/13 17:19:01 UTC

[jira] [Commented] (BEAM-4107) Do not force our fixed dependency versions on all configurations, but only those we know about

    [ https://issues.apache.org/jira/browse/BEAM-4107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17300941#comment-17300941 ] 

Beam JIRA Bot commented on BEAM-4107:
-------------------------------------

This issue is P2 but has been unassigned without any comment for 60 days so it has been labeled "stale-P2". If this issue is still affecting you, we care! Please comment and remove the label. Otherwise, in 14 days the issue will be moved to P3.

Please see https://beam.apache.org/contribute/jira-priorities/ for a detailed explanation of what these priorities mean.


> 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: Improvement
>          Components: build-system
>            Reporter: Kenneth Knowles
>            Priority: P2
>              Labels: gradle, stale-P2
>
> 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 list of a few Java configurations.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)