Skip to content

Instantly share code, notes, and snippets. jitpack-io

Block or report user

Report or block jitpack-io

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
jitpack-io / jitpack.yml
Last active Oct 18, 2019
Publish an existing jar file to jitpack
View jitpack.yml
- FILE="-Dfile=jars/my-library.jar"
- mvn install:install-file $FILE -DgroupId=com.github.user -DartifactId=repo -Dversion=1.0 -Dpackaging=jar -DgeneratePom=true
jitpack-io / init.gradle
Last active Nov 30, 2018
init.gradle script to print Maven repositories. Copy to ~/.gradle/
View init.gradle
# copy script to ~/.gradle/init.gradle
gradle.projectsEvaluated {
allprojects { project ->
task printRepos() {
println("Project repositories: ${}")
repositories {
all { ArtifactRepository repo ->
jitpack-io / init.gradle
Created Dec 7, 2015
JitPack repository in Gradle
View init.gradle
import org.gradle.api.Plugin
import org.gradle.api.Project
import org.gradle.api.artifacts.dsl.RepositoryHandler
apply plugin:JitPackRepositoryPlugin
class JitPackRepositoryPlugin implements Plugin<Gradle> {
void apply(Gradle gradle) {
cdegroot /
Last active Nov 2, 2015
How-to JitPack with sbt cross compilation


JitPack just added support for multiple Scala versions. This quick how-to describes the changes I made to one of my little projects to make everything work.

SBT changes

If you want to release for multiple Scala versions, you need to test it. Therefore, you need to add the versions you want to test against in project/Build.scala, adding:

View axion-release configuration for publishing github releases as X.X.X-RELEASE
plugins {
id '' version '1.2.3'
id 'java'
id 'maven'
scmVersion {
tag {
prefix = ''
serialize = {config, version -> "$version-RELEASE"}
You can’t perform that action at this time.