Skip to Content
VersionwatchInstallation

Installation

Adding Dependency

VersionWatch depends on the Java-Semver library.

In order to use VersionWatch you will need to download it and its dependency javasemver, using a BuildTool like Maven or Gradle. We also highly recommend relocating/shading the library into your own package.

Add Repository

build.gradle.kts
repositories { mavenCentral() }

Add Dependency

build.gradle.kts
dependencies { implementation("io.github.milkdrinkers:versionwatch:VERSION") implementation("io.github.milkdrinkers:javasemver:VERSION") }

Shade Dependency

build.gradle.kts
plugins { id("com.gradleup.shadow") version "8.3.6" } tasks { shadowJar { relocate("io.github.milkdrinkers.versionwatch", "yourpackage.versionwatch") relocate("io.github.milkdrinkers.javasemver", "yourpackage.javasemver") } }

Well done! Next up have a look at all the available Platforms.

Last updated on