Installation
Adding Dependency
In order to use Java-Semver you will need to download it using a BuildTool like Maven or Gradle. We also highly recommend relocating/shading the library into your own package.
Gradle Kotlin DSL
Add Repository
build.gradle.kts
repositories {
mavenCentral()
}
Add Dependency
build.gradle.kts
dependencies {
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.javasemver", "yourpackage.javasemver")
}
}
Well done! Next up have a look at all the available Usage.
Last updated on