Jay Taylor's notes

back to listing index

Publish JVM and Android libraries with ease

[web search]
Original source (jitpack.io)
Tags: java dependency-management maven jitpack jitpack.io
Clipped on: 2016-07-31

JitPack

Easy to use package repository for Git

Publish your JVM and Android libraries

How to

To get a Git project into your build:

Step 1. Add the JitPack repository to your build file

	<repositories>
		<repository>
		    <id>jitpack.io</id>
		    <url>https://jitpack.io</url>
		</repository>
	</repositories>

Step 2. Add the dependency

	<dependency>
	    <groupId>com.github.User</groupId>
	    <artifactId>Repo</artifactId>
	    <version>Tag</version>
	</dependency>

That's it! The first time you request a project JitPack checks out the code, builds it and serves the build artifacts.

If the project doesn't have any GitHub Releases you can use the short commit hash or 'anyBranch-SNAPSHOT' as the version.

See also

Features



Snapshots

Build a specific commit or the latest

Works on any branch

More info →

Doc publishing

Library javadocs are published and hosted automatically

More info →

Stats

Track your downloads

Weekly and monthly stats available to maintainers



CDN powered

Artifacts are served via a global CDN

Fast downloads for you and your users

Private repositories

Private builds remain private

Share them when needed. More info →

Custom domains

Match artifact names with your domain

More info →

What developers say

Image (Asset 1/7) alt= Josh Kruck @krujos

@jitpack thanks guys. Fantastic tool! Saved me a ton of hassle and helped me turn a demo around & distribute super fast!

||
Image (Asset 2/7) alt= Tomasz Kaszkowiak @ktomek

This is what I need. Great service with package repository for Gradle https://jitpack.io/  #AndroidDev #Gradle #github

||

Works with
Image (Asset 3/7) alt=
Image (Asset 5/7) alt=
Image (Asset 6/7) alt=
Powered by
Image (Asset 7/7) alt=
© 2015-2016 JitPack.io | jitpack@jitpack.io | Twitter | GitHub | Pricing | Enterprise | Terms | Privacy