[aerogear-dev] Replace Spring dependency management by a single gradle file

Daniel Passos dpassos at redhat.com
Thu Mar 29 17:08:50 EDT 2018


Hi,

While working on push stuff I figure out Spring dependency management[1]
doesn’t work properly with Gradle transitive dependencies[2].

TL;DR It’s ignoring the transitive dependencies and on push, it causes some
dependency conflicts. Since Google Services plugin doesn’t found any
dependency it’s going to inject it from your on.

Android dependency 'com.google.firebase:firebase-iid' has different
version for the compile (11.4.2) and runtime (12.0.1) classpath.

I’ve sent a PR[3] to remove it for now and revisit it in the future. I have
moved all our dependencies version for a single file[4] like most of the
libraries do.

This also will make us a little more fast and flexible to do changes in our
dependencies.

Any thoughts?

[1] https://github.com/spring-gradle-plugins/dependency-management-plugin
[2]
https://docs.gradle.org/current/userguide/managing_transitive_dependencies.html
[3] https://github.com/aerogear/aerogear-android-sdk/pull/173
[4]
https://github.com/aerogear/aerogear-android-sdk/blob/master/constants.gradle
​
-- 
-- Passos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20180329/c3a36c6b/attachment.html 


More information about the aerogear-dev mailing list