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 library to maven central for Android Studio gradle dependency support #4

Closed
sailorseashell opened this issue Apr 10, 2014 · 8 comments

Comments

@sailorseashell
Copy link

I think it would be great if this library could be published to the Maven Central repository so that it could be included as a gradle dependency for Android Studio projects. This makes things much simpler, and then you don't have to include source code, or manually build a jar to include with your project.

@ocram
Copy link
Contributor

ocram commented Apr 10, 2014

Thanks! Seems reasonable, however we've never published any libraries there. Can you provide a short summary of what to do (and where)? Does it have to be the repository's maintainer who submits it there? (How do they verify?)

@sailorseashell
Copy link
Author

After doing a little looking around, this seems to be the most simplistic solution! To do this, the project would have to be in the format of Android Studio.

@ocram
Copy link
Contributor

ocram commented Apr 11, 2014

Thank you! We're not using Android Studio yet as it's an early-access preview only, but still good old Eclipse ;) So I'll leave this issue open until we start using Android Studio or someone provides a pull request, etc.

@sailorseashell
Copy link
Author

I've been using AS since last summer! It's miles better than eclipse in functionality, and stability which is impressive given that it hasn't even reached version 1.0 yet. I used eclipse for years. When an IDE has a built in restart button, there is something wrong.

@ocram
Copy link
Contributor

ocram commented Apr 11, 2014

I will check out Android Studio soon then, but I cannot promise to have the project added to the Maven repository soon.

@sailorseashell
Copy link
Author

That's quite alright! I've added the AppRate.java file to my project in the interim. Thanks for creating this lightweight lib. In the past I've added this functionality manually, and it's a pain to do every time. This is perfect - will reduce coding time in the future! :)

@ocram
Copy link
Contributor

ocram commented Apr 11, 2014

You're welcome! You can also create a library project (if that's still possible in Android Studio) and just reference this library project from your app projects.

@ocram
Copy link
Contributor

ocram commented Jan 18, 2015

The JARs which are available now make this issue (at least partly) obsolete.

While dependency management via Maven Central may be even more comfortable (especially when updates are available), the JARs should be sufficient for this library.

@ocram ocram closed this as completed Jan 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants