diff --git a/.gitignore b/.gitignore
index ff3d427..48c9251 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,6 +5,7 @@
.classpath
.DS_Store
.gradle
+.history
.kobalt
.nb-gradle
.project
@@ -45,4 +46,4 @@
ehthumbs.db
kobaltBuild
kobaltw*-test
-Thumbs.db
\ No newline at end of file
+Thumbs.db
diff --git a/.idea/modules/examples-kotlin_main.iml b/.idea/modules/examples-kotlin_main.iml
index f6c1db1..7ea61a1 100644
--- a/.idea/modules/examples-kotlin_main.iml
+++ b/.idea/modules/examples-kotlin_main.iml
@@ -5,6 +5,13 @@
-⚠️
keysPrefix
is a new element in1.1.0
and may break older versions when using custom property keys.
+⚠️
keysPrefix
is a new element staring in1.1.0
and may break older versions when using custom property keys.
⚡ A quick fix is to includekeysPrefix=""
in the annotation to remove the defaultversion.
prefix.
<dependency>
<groupId>net.thauvin.erik</groupId>
<artifactId>semver</artifactId>
- <version>1.1.0-beta</version>
+ <version>1.1.1</version>
</dependency>
To install and run from Gradle, add the following to the build.gradle
file:
dependencies {
- annotationProcessor 'net.thauvin.erik:semver:1.1.0-beta'
- compileOnly 'net.thauvin.erik:semver:1.1.0-beta'
+ annotationProcessor 'net.thauvin.erik:semver:1.1.1'
+ compileOnly 'net.thauvin.erik:semver:1.1.1'
}
The GeneratedVersion
class will be automatically created in the build/generated
directory upon compiling.
To install and run from Kobalt, add the following to the Build.kt
file:
dependencies {
- apt("net.thauvin.erik:semver:1.1.0-beta")
- compileOnly("net.thauvin.erik:semver:1.1.0-beta")
+ apt("net.thauvin.erik:semver:1.1.1")
+ compileOnly("net.thauvin.erik:semver:1.1.1")
}
Please look at the Build.kt file in the Kotlin example module directory for a sample.
Please look at the Kotlin example project for samples on using Gradle (build.gradle.kts) and Kobalt (Build.kt).
Incrementing the version is best left to your favorite build system. For a solution using Gradle, please have a look at the Semver Version Plugin for Gradle.
-There are also full examples in both Java and Kotlin showing how to use both the plugin and annotation processor concurrently.
+There are also full examples in both Java and Kotlin showing how to use both the plugin and annotation processor concurrently.