coomar2841 / image-chooser-library

An Easy Image/Video Chooser Library for your Android Apps
646 stars 192 forks source link

Add to Maven Central? #6

Closed hidabe closed 9 years ago

hidabe commented 11 years ago

I like this library, i think that it is good.

You could add it to Maven Central for integrate it?

I am, too, writing library about upload any Multipart/POST content to server. I think that i could use your library, replacing my own library, and, if you upload to Maven Central and add support for Maven, it will be more easy.

It is my library: https://github.com/sopinet/android-mediauploader

I can help you for add Maven support too.

Thanks, regards!

coomar2841 commented 11 years ago

I don't have much knowledge about Maven. If you could help with that, that would be great.

hidabe commented 11 years ago

Good! i will fork it and will try... thanks!

hidabe commented 11 years ago

Hello again, i have done a pom.xml structure, you can review it at: https://github.com/sopinet/image-chooser-library

I have been watching this tutorial: http://kirang89.github.io/blog/2013/01/20/uploading-your-jar-to-maven-central/

I think that you should be able to upload to Maven Central with it. I don't want to do it because the uploader needs to sign the library with GPG.

coomar2841 commented 11 years ago

I don't know much about Maven yet. So, I might not be the right person to do it. If you are sure, then send in a pull request, and I would try an upload to Maven Central.

hidabe commented 11 years ago

Hello again, added documentation for use image-chooser-library with android-mediauploader:

https://github.com/sopinet/android-mediauploader

I am working in maven issue

ignasi commented 11 years ago

Hi guys, have you finally uploaded it to maven?

Thanks a lot, and good job!

hidabe commented 11 years ago

I not, I have stopped this issue, i dont know complete process to do it, do u want help we?

ignasi commented 11 years ago

Me neither, but I will try to have a look at this when I got some free time. Thanks!

coomar2841 commented 10 years ago

Started working towards this.

hidabe commented 10 years ago

What about that? very very thanks!

coomar2841 commented 10 years ago

ah!!.. I have created a project there. But, yet to publish a build. The process seems to be daunting for me, and haven't found enough time for this.

franciscomxs commented 10 years ago

:+1: Maven.

mustafaberkaymutlu commented 10 years ago

Maven would be great :) Thanks!

Nivl commented 10 years ago

This might help if someone have time to take care of it: http://datumedge.blogspot.com/2012/05/publishing-from-github-to-maven-central.html

coomar2841 commented 10 years ago

Had some progress on this front. You can try this module. compile "com.kbeanie:image-chooser-library:1.3.1@aar"

Let me know if it works or you have problems with this.

fraserscottmorrison commented 10 years ago

Adding compile 'com.kbeanie:image-chooser-library:1.3.1' to build.gradle seems like it will work, except it requires com.android.support:appcompat-v7:20.0.0 and Im not prepared to move from v19 anytime soon

coomar2841 commented 10 years ago

Yeah, haven't figured that out yet.

timmolter commented 10 years ago

These links may help:

http://central.sonatype.org/pages/requirements.html http://xeiam.com/a-practical-guide-to-uploading-artifacts-to-maven-central/

fraserscottmorrison commented 10 years ago

Looks like the POM just needs updating

    <dependency>
      <groupId>com.android.support</groupId>
      <artifactId>appcompat-v7</artifactId>
      <version>20.0.0</version>
      <scope>compile</scope>
    </dependency>

Should be

    <dependency>
      <groupId>com.android.support</groupId>
      <artifactId>support-v7</artifactId>
      <version>19.0.+</version>
      <scope>compile</scope>
    </dependency>

or removed entirely...

coomar2841 commented 10 years ago

Thanks @fraserscottmorrison . Will try that soon.

coomar2841 commented 10 years ago

I will need to have one dependency, from where I use some fragment classes. I can't make the aar work for me.

coomar2841 commented 9 years ago

Thanks for all your help people. Closing this issue finally :)