Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish to Maven as AAR #10

Closed
andrew-codechimp opened this issue Oct 1, 2013 · 10 comments
Closed

Publish to Maven as AAR #10

andrew-codechimp opened this issue Oct 1, 2013 · 10 comments

Comments

@andrew-codechimp
Copy link

Could we have this published as an AAR to make it easier to integrate when using Android Studio/Gradle.

@hameno
Copy link
Member

hameno commented Oct 2, 2013

The new android-maven-plugin version should support aar libraries. I'll try to find some time to test this...

@andrew-codechimp
Copy link
Author

This article explains how to do it fairly painlessly
http://gmariotti.blogspot.com/2013/09/publish-aar-file-to-maven-central-with.html

I pushed my own library using that method and it's working well
https://github.com/codechimp-org/AppRater

@hameno
Copy link
Member

hameno commented Oct 20, 2013

I'm still waiting for a more stable android-maven-plugin version for this. Maybe you could submit a pull request with the necessary gradle files and I may be able to upload an aar artifact to maven.

@andrew-codechimp
Copy link
Author

The gradle files are the easy bit, implementing the signing/nexus login properties that cannot be version controlled and only something you can do unfortunately.

@hameno
Copy link
Member

hameno commented Oct 21, 2013

OK, can you still provide the gradle files and a sample properties file - I'll adjust the rest :)

@andrew-codechimp
Copy link
Author

I'll give it a go but just seen how many dependencies there are so will take a little more work.

hameno added a commit that referenced this issue Jan 1, 2014
hameno added a commit that referenced this issue Jan 1, 2014
@hameno
Copy link
Member

hameno commented Jan 1, 2014

Android Maven Plugin 3.8.2 with full aar support is now released and a new snapshot with aar packaging is now deployed, release will follow in the next days.

@hameno hameno closed this as completed Jan 1, 2014
@intrications
Copy link

Is this available yet? Will it be on Maven Central?

@hameno
Copy link
Member

hameno commented Jan 13, 2014

Sorry, not yet released. Snapshots are available on sonatype.

@hameno
Copy link
Member

hameno commented Feb 2, 2014

I've just released version 1.4.0 which uses aar packaging, should be available in maven central in a few hours.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants