Added gradle build files
Added gradle files for building via gradle. Running the following will create a folder maven-deploy with .aar release build of the project.
./gradlew clean build uploadArchives
gradlew.* scripts and a gradle wrapper also added.
Also fixed the target version number in the manifest to the same as project.properties
Hi,
How can i import aar in my gradle project?
To: @philipesteiff
It depends on if you want to do it via a remote maven repository or via a local maven repository.
The task uploadArchives will create a folder android-numberpicker/maven-deploy/ under which the local maven repo resides.
Take a look at: https://github.com/toxbee/mvn-repo/tree/master/maven-deploy/net/simonvt/numberpicker/android-numberpicker/1.0.0 for an example.
I usually copy the maven-deploy folder into a different git repo and push them to a remote and add that remote as a repository in my android project.
If you'd like, you can use mine: https://github.com/toxbee/mvn-repo Instructions on how to use are there.