<dependency>
<groupId>net.thauvin.erik</groupId>
<artifactId>semver</artifactId>
- <version>0.9.5-beta</version>
+ <version>0.9.6-beta</version>
</dependency>
To install and run from Gradle, add the following to the build.gradle
file:
dependencies {
- compile 'net.thauvin.erik:semver:0.9.5-beta'
+ compile 'net.thauvin.erik:semver:0.9.6-beta'
}
The GeneratedVersion
class will be automatically created in the build
directory upon compiling.
Then add the following to the build.gradle
file:
dependencies {
- compileOnly 'net.thauvin.erik:semver:0.9.5-beta'
+ compileOnly 'net.thauvin.erik:semver:0.9.6-beta'
}
annotationProcessor {
- library 'net.thauvin.erik:semver:0.9.5-beta'
+ library 'net.thauvin.erik:semver:0.9.6-beta'
processor 'net.thauvin.erik.semver.VersionProcessor'
// sourcesDir 'src/generated/java'
}
@@ -272,13 +272,13 @@ compileJava {
Kobalt
To install and run from Kobalt, add the following to the Build.kt
file:
dependencies {
- apt("net.thauvin.erik:semver:0.9.5-beta")
- compile("net.thauvin.erik:semver:0.9.5-beta")
+ apt("net.thauvin.erik:semver:0.9.6-beta")
+ compile("net.thauvin.erik:semver:0.9.6-beta")
}
Please look at the Build.kt file in the example module directory for a sample.
Auto-Increment
Incrementing the version is best left to your favorite build system.
For a solution using Gradle, please have a look at the build.gradle file in the example module directory. To run the example with patch version auto-incrementing, issue the following command:
-gradle clean release run
+gradle release run