Jitpack to the Rescue

I came across this cool service that packages git hub projects and allows you to easily include them via gradle or maven. You know all of those libraries on github that were never deployed to maven? They are no longer a problem.

You only need to do two things:

repositories {
        // add this maven url
	    maven {
	        url "https://jitpack.io"


dependencies {
            // add a compile dependency with the 
	        compile 'com.github.User:Repo:Tag'

The service has three choices for grabbing versions:

  • Releases
  • Short Commit Hash
  • -Snapshot

Still not sure how to proceed with a given github project?

Simply copy the github url for the project and paste it into the lookup screen on https://jitpack.io, click lookup and the gradle code will be generated for you.

Leave a Reply

Your email address will not be published. Required fields are marked *