chrisbanes / gradle-mvn-push

Helper to upload Gradle Android Artifacts to Maven repositories
Apache License 2.0
1.05k stars 283 forks source link

Transitive dependencies with Gradle 4.x #58

Closed tobrun closed 6 years ago

tobrun commented 6 years ago

The introduction Gradle 4.x has broken resolving transitive dependencies from libraries published with the plugin provided in this repository.

Use-case:

Expected behaviour:

Actual behaviour:

More info in https://github.com/dcendents/android-maven-gradle-plugin/issues/61

cc @chrisbanes

Guardiola31337 commented 6 years ago

After digging into this found that there's some kind of conflict when including transitive dependencies which use different versions of Gradle (it seems like a Gradle bug).

Using the same Gradle version to generate the different libraries solves OP.

Guardiola31337 commented 6 years ago

After more digging and testing found that wasn’t any conflict and it was because transitive dependencies weren’t exposed correctly. Good to close here @tobrun