Gradle cannot resolve dependency
Nonda95 opened this issue · 4 comments
Nonda95 commented
Hi
I've wanted to change the router in the new Navigation SDK based on modularization docs: https://docs.mapbox.com/android/beta/navigation/overview/modularization/, but after adding required dependencies:
compileOnly("com.mapbox.base:android-annotations:0.1.0")
kapt("com.mapbox.base:android-annotations-processsor:0.1.0")
Gradle fails to resolve these dependencies (Resolving Navigation SDK 1.0.0 RC 3 works, so the repository configuration is correct). Any tips on how to make that works?
LukasPaczos commented
Hey @Nonda95, thanks for trying out the pre-release!
The artifact IDs should be:
compileOnly("com.mapbox.base:annotations:0.1.2")
kapt("com.mapbox.base:annotations-processsor:0.1.2")
We'll fix the docs right away.
Nonda95 commented
There's a typo in: com.mapbox.base:annotations-processsor
LukasPaczos commented
Fixing that as well, thanks again @Nonda95!
LukasPaczos commented
Docs pages are updated, closing here.