[
https://issues.apache.org/jira/browse/BEAM-4087?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16439214#comment-16439214
]
Ismaël Mejía commented on BEAM-4087:
------------------------------------
>From a previously discussion with [~lcwik] another way to do this to avoid
>defining them in the gradle.properties would be to do `def my_pkg_version =
>project.hasProperty('my_pkg_version') ? project.my_pkg_version :
>default_version`
Due to different compromises / pending work I won't be able to look at this in
the following days/weeks so I prefer to let the issue unassigned in case
somebody else wants to work on it.
> Gradle build does not allow to overwrite versions of provided dependencies
> --------------------------------------------------------------------------
>
> Key: BEAM-4087
> URL: https://issues.apache.org/jira/browse/BEAM-4087
> Project: Beam
> Issue Type: Sub-task
> Components: build-system
> Affects Versions: 2.5.0
> Reporter: Ismaël Mejía
> Priority: Major
>
> In order to test modules with provided dependencies in maven we can execute
> for example for Kafka `mvn verify -Prelease -Dkafka.clients.version=0.9.0.1
> -pl 'sdks/java/io/kafka'` However we don't have an equivalent way to do this
> with gradle because the version of the dependencies are defined locally and
> not in the gradle.properties.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)