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.ben12345rocks:advancedcore:3.6.8'
}
dependencies {
implementation("com.github.ben12345rocks:advancedcore:3.6.8")
}
<dependency>
<groupId>com.github.ben12345rocks</groupId>
<artifactId>advancedcore</artifactId>
<version>3.6.8</version>
</dependency>
libraryDependencies += "com.github.ben12345rocks" % "advancedcore" % "3.6.8"
:dependencies [[com.github.ben12345rocks/advancedcore "3.6.8"]]
API used in the plugins developed by BenCodez, can be used in any project.
<repository>
<id>BenCodez Repo</id>
<url>https://nexus.bencodez.com/repository/maven-public/</url>
</repository>
<dependency>
<groupId>com.bencodez</groupId>
<artifactId>advancedcore</artifactId>
<version>LATEST</version>
<scope>provided</scope>
</dependency>
### In Gradle: repositories { maven { url "https://nexus.bencodez.com/repository/maven-public/" } } dependencies { compile "com.bencodez:advancedcore:LATEST" }
Versions:
LATEST - latest stable release
Check out all tags on the releases tab.