avast / android-styled-dialogs

Backport of Material dialogs with easy-to-use API based on DialogFragment
Apache License 2.0
2.15k stars 450 forks source link

Consider uploading .aar to Maven #9

Closed pmecho closed 10 years ago

pmecho commented 11 years ago

Create and upload an .aar file instead of an apklib for use in gradle's dependency management.

davidvavra commented 11 years ago

I would like to learn how to do that, do you have some easy to use how-to?

pmecho commented 11 years ago

This one is from a Google engineer: http://chris.banes.me/blog/2013/08/27/pushing-aars-to-maven-central/

davidvavra commented 10 years ago

I have been looking into this, it's now possible to generate aar from maven! We don't want to maintain both gradle and maven configuration so this is a way for us. But it's possible only in android-maven-plugin 3.8.1 so this issue is blocked until 3.8.1 is out.

asarazan commented 10 years ago

+1 to this. Looking forward to 3.8.1

mttkay commented 10 years ago

With 3.8.1 out, this should now be as simple as upgrading to the new plugin version and changing the packaging to aar. Any ETA for this?

davidvavra commented 10 years ago

Yes I know. I'm planning to do that next week.

Michenux commented 10 years ago

+1 to this issue.

davidvavra commented 10 years ago

AAR is now being synced to Maven Central!

I didn't figure out how to release both apklib & aar. So I have released version 1.1 as apklib and 1.1.1 as aar. Now with aar support in Maven and soon in IntelliJ IDEA, we can create new releases aar-only. If anyone knows how to release both easily, let me know.