Skip to content
This repository was archived by the owner on Apr 19, 2018. It is now read-only.

Conversation

@stormbeta
Copy link

If the m2 support repo is added after dependencies are declared, then the dependencies won't resolve. This isn't an issue if the repo already exists, as Google's android gradle plugin takes care of it, but if it needed to be downloaded, this will cause the first fresh build to fail.

I modified the plugin to always add the m2 support repo instead. If it's not needed (and thus doesn't exist), it shouldn't hurt anything as gradle will simply treat it as an empty repository.

Repositories need to be added before dependencies are declared
Otherwise those dependencies won't be resolved against a freshly
downloaded m2 support repo.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant