tjerkw / Android-SlideExpandableListView

A better ExpandableListView, with animated expandable views for each list item
Apache License 2.0
1.98k stars 741 forks source link

Putting this as @aar in mavencentral? #55

Closed tmsbn closed 10 years ago

tmsbn commented 10 years ago

Sorry if this has been asked before, but can you put this library as aar in mavencentral?

tjerkw commented 10 years ago

I'm glad todo it but could you give me hints how to perform this? Or better update the maven pom file to perform this task?

tmsbn commented 10 years ago

I haven't done this myself but maybe this guide can help you. Cheers! http://chris.banes.me/blog/2013/08/27/pushing-aars-to-maven-central/

rekire commented 10 years ago

Any progress?

tjerkw commented 10 years ago

I merged it, but after that i moved to gradle completely. Gradle is the future of android. Greetings

rekire commented 10 years ago

Do you have a time plan for uploading it to maven? I cannot find your lib at http://search.maven.org/#search|ga|1|com.tjerkw

I got it managed to upload my first own android archive to maven. I will upload it soon into my repo. If you are interested in my gradle file just leave a message.

tjerkw commented 10 years ago

@rekire i've moved completely to gradle now. Not sure if adding it to maven is easy with gradle. Probably i have to signup at maven, which i'm too lazy for doing.

rekire commented 10 years ago

After some research it is easy. See my gradle file: https://github.com/rekire/EditMail/blob/develop/EditMailLibrary/build.gradle I just changed some small things like using the block around line 111

You also need to create a gradle.properties in ~/.gradle with a content like this:

sonatypeUser=<sonatype user>
sonatypePass=<sonatype pwd>

signing.keyId=<your gpg/pgp key>
signing.password=<your key pwd>
signing.secretKeyRingFile=<path to key>

For uploading that to maven see this: https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide

reid-harrison commented 10 years ago

Yes, please try to follow rekire's suggestion. It is just called "Maven Central Repository" but by deploying artifacts there, other gradle users can easily add a new dependency since it is on maven central. Thanks!