Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflict in Gradle dependencies when using version 1.1.0 with test support 1.0.1 #60

Closed
xsveda opened this issue Jul 18, 2016 · 2 comments

Comments

@xsveda
Copy link
Contributor

xsveda commented Jul 18, 2016

With build.gradle configuration

...
    compile "com.annimon:stream:1.1.0"
    testCompile "com.annimon:stream-test:1.0.1"
...

the build will fail with:
Error:Conflict with dependency 'com.annimon:stream'. Resolved versions for app (1.1.0) and test app (1.0.9) differ. See http://g.co/androidstudio/app-test-app-conflict for details.

Also please consider to always use the same version for stream-test module and the corresponding stream module to avoid any confusion.

@aNNiMON
Copy link
Owner

aNNiMON commented Jul 18, 2016

@xsveda that's my mistake, I will fix that on next release. Thanks.

The problem is that it is necessary to update stream-test on each stream release, even if there were no changes. Is it normal practice?

@xsveda
Copy link
Contributor Author

xsveda commented Jul 18, 2016

Not sure...But in this case when a base module version changes it is not a problem for me to release a test module with same version even though there is no change in it.
In the other scenario when a test module change is needed probably will never be so critical so it won't be possible to wait for core module release.

If this pairing is not acceptable than I suggest to match at least major and minor part of the versions so 1.1.x version of core module will match with 1.1.y version of test module...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants