Step 1. Add the JitPack repository to your build file
Add it in your root settings.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add it in your settings.gradle.kts at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Add to pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"
Add it in your project.clj at the end of repositories:
:repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
dependencies {
implementation 'com.github.toxbee:mvn-repo:'
}
dependencies {
implementation("com.github.toxbee:mvn-repo:")
}
<dependency>
<groupId>com.github.toxbee</groupId>
<artifactId>mvn-repo</artifactId>
<version></version>
</dependency>
libraryDependencies += "com.github.toxbee" % "mvn-repo" % ""
:dependencies [[com.github.toxbee/mvn-repo ""]]
mvn-repo is a central maven repository for anyone to use.
Simply add the repository to your build.gradle file:
repositories {
maven {
url 'https://github.com/toxbee/mvn-repo/raw/master/maven-deploy'
}
mavenCentral()
}
And you can use the artifacts like this:
dependencies {
compile 'net.simonvt.numberpicker:android-numberpicker:1.0.0'
compile 'org.osmdroid:bonuspack:4.0.0-SNAPSHOT'
// fimpl: https://github.com/toxbee/fimpl
compile 'se.toxbee.fimpl:fimpl-annotate:0.2.0'
compile 'se.toxbee.fimpl:fimpl-api:0.2.0'
compile 'se.toxbee.fimpl:fimpl-common:0.2.0'
compile 'se.toxbee.fimpl:fimpl-metainf:0.2.0'
}
Optionally you can add these gradle plugins to the buildscripts:
buildscript {
repositories {
maven {
url 'https://github.com/toxbee/mvn-repo/raw/master/maven-deploy'
}
mavenCentral()
}
dependencies {
classpath 'se.toxbee.lgio:gradle-plugin-lgio:0.1'
}
}
The licenses are provided by the individual libary owner.
This "mvn-repo" utilizes these libaries and won´t provide any support, responsibility or licenses itself.