Conversation
|
Hi, How can i import aar in my gradle project? |
Author
|
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added gradle files for building via gradle.
Running the following will create a folder maven-deploy with .aar release build of the project.
gradlew.* scripts and a gradle wrapper also added.
Also fixed the target version number in the manifest to the same as project.properties