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.nwillc:vplugin:v2.3.0'
}
dependencies {
implementation("com.github.nwillc:vplugin:v2.3.0")
}
<dependency>
<groupId>com.github.nwillc</groupId>
<artifactId>vplugin</artifactId>
<version>v2.3.0</version>
</dependency>
libraryDependencies += "com.github.nwillc" % "vplugin" % "v2.3.0"
:dependencies [[com.github.nwillc/vplugin "v2.3.0"]]
A Gradle plugin to report newer versions of a builds dependencies. Traverses your plugin, compile and runtime dependencies. For each dependency, all of your declared repositories are checked, and the highest version is found. A text report is generated showing the dependencies, their current version, and higher ones if available.
See Gradle Plugins.
The plugin requires no configuration it relies on the existing repos and dependencies.
./gradlew versions
Plugins
=======
Repositories
------------
https://plugins.gradle.org/m2/
Artifact Using Update
-------- ----- ------
com.github.ngyewch.git-version:com.github.ngyewch.git-version.gradle.plugin 0.2
com.github.nwillc.vplugin:com.github.nwillc.vplugin.gradle.plugin 2.3.0
com.jfrog.bintray:com.jfrog.bintray.gradle.plugin 1.8.4
io.gitlab.arturbosch.detekt:io.gitlab.arturbosch.detekt.gradle.plugin 1.0.0.RC9.2
org.jetbrains.dokka:org.jetbrains.dokka.gradle.plugin 0.9.17
org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin 1.3.11
org.jmailen.kotlinter:org.jmailen.kotlinter.gradle.plugin 1.20.1
Dependencies
============
Repositories
------------
https://jcenter.bintray.com/
Artifact Using Update
-------- ----- ------
io.mockk:mockk 1.8.13.kotlin13
org.assertj:assertj-core 3.11.1
org.jetbrains.kotlin:kotlin-scripting-compiler-embeddable 1.3.11
org.junit.jupiter:junit-jupiter-api 5.3.1 5.3.2
org.junit.jupiter:junit-jupiter-engine 5.3.1 5.3.2
Since 3.0.0+ implemented in Kotlin.