SimonVT / android-menudrawer

*DEPRECATED* A slide-out menu implementation, which allows users to navigate between views in your app.
http://simonvt.github.com/android-menudrawer/
Apache License 2.0
2.59k stars 1.11k forks source link

Library not found when using gradle #213

Closed mariomelo closed 10 years ago

mariomelo commented 10 years ago

As gradle is the Android new build system, it would be nice if we could use it to find this library.

You just need to change the packaging element on pom.xml to apklib, I guess.

SimonVT commented 10 years ago

No, gradle uses aar. Menudrawer is already available as an aar in maven central.

mariomelo commented 10 years ago

So,

I tried it in my build.gradle:

compile 'net.simonvt:android-menudrawer:3.0.0@aar'

But turns out it gives me an error: Artifact 'net.simonvt:android-menudrawer:3.0.0:android-menudrawer.aar' not found.

Am I doing something wrong?

SimonVT commented 10 years ago

You have to use version 3.0.5: http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22net.simonvt.menudrawer%22%20AND%20a%3A%22menudrawer%22

mariomelo commented 10 years ago

Ok! Thanks! :D