Skip to content

Instantly share code, notes, and snippets.

@shiraji
Last active March 31, 2016 02:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shiraji/a1c317d22ae9f409d2c66c7e75d490ff to your computer and use it in GitHub Desktop.
Save shiraji/a1c317d22ae9f409d2c66c7e75d490ff to your computer and use it in GitHub Desktop.
jitpack.io tips

Multiple Module

Multiple module format

Doc says

compile 'com.github.$USER.$REPO:$Module:$VERSION'

Truth is

compile 'com.github.$USER.$REPO.to_lower:$Module:$VERSION'

For instance, PermissionsDispatcher

compile 'com.github.shiraji.permissionsdispatcher:permissionsdispatcher:2.1.1'

No web page for multiple module

APT - of course!

apt 'com.github.shiraji.permissionsdispatcher:permissionsdispatcher-processor:2.1.1'

-SNAPSHOT version

Doc says

compile 'com.github.$USER:$REPO:-SNAPSHOT'

If there is branch name -SNAPSHOT then it works.

But in most case, v1.1.1-SNAPSHOT or any version name with -SNAPSHOT

compile 'com.github.shiraji:permissionsdispatcher:v1.1.1-SNAPSHOT'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment