android-numberpicker icon indicating copy to clipboard operation
android-numberpicker copied to clipboard

Added gradle build files

Open Centril opened this issue 12 years ago • 2 comments

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

Centril avatar Jan 07 '14 16:01 Centril

Hi,

How can i import aar in my gradle project?

philipesteiff avatar Jan 29 '14 19:01 philipesteiff

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.

Centril avatar Jan 29 '14 22:01 Centril