diff --git a/README.html b/README.html index 2d3a009..8e3fbb8 100644 --- a/README.html +++ b/README.html @@ -49,7 +49,7 @@ code > span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Inf
An annotation processor that automatically generates a Version
class containing the semantic version (major, minor, patch, etc.) that is read from a Properties
file or defined in the annotation.
An annotation processor that automatically generates a GeneratedVersion
class containing the semantic version (major, minor, patch, etc.) that is read from a Properties
file or defined in the annotation.
This processor was inspired by Cédric Beust's version-processor.
To install and run from Gradle, add the following to the build.gradle
file:
dependencies {
compile 'net.thauvin.erik:semver:0.9.1-beta'
}
-The GeneratedVersion
class will be automatically generated in the build
directory upon compiling.
In order to also include the generated source code to your source tree, you should use the EWERK Annotation Processor Plugin. Start by addding the following to the very top of the build.gradle
file:
The GeneratedVersion
class will be automatically created in the build
directory upon compiling.
In order to also incorporate the generated source code into the source tree
, use the EWERK Annotation Processor Plugin. Start by addding the following to the very top of the build.gradle
file:
plugins {
id "com.ewerk.gradle.plugins.annotation-processor" version "1.0.2"
}
@@ -261,7 +263,6 @@ code > span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Inf
}
annotationProcessor {
- project.version = getVersion(isRelease)
library 'net.thauvin.erik:semver:0.9.1-beta'
processor 'net.thauvin.erik.semver.VersionProcessor'
// sourcesDir 'src/generated/java'
diff --git a/README.md b/README.md
index b00c396..676aa1f 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# Semantic Version Annotation Processor
-An [annotation processor](https://docs.oracle.com/javase/8/docs/api/javax/annotation/processing/Processor.html) that automatically generates a `Version` class containing the [semantic version](http://semver.org/) (major, minor, patch, etc.) that is read from a `Properties` file or defined in the [annotation](https://docs.oracle.com/javase/tutorial/java/annotations/basics.html).
+An [annotation processor](https://docs.oracle.com/javase/8/docs/api/javax/annotation/processing/Processor.html) that automatically generates a `GeneratedVersion` class containing the [semantic version](http://semver.org/) (major, minor, patch, etc.) that is read from a `Properties` file or defined in the [annotation](https://docs.oracle.com/javase/tutorial/java/annotations/basics.html).
This processor was inspired by Cédric Beust's [version-processor](https://github.com/cbeust/version-processor).
diff --git a/semver.iml b/semver.iml
index 062fecc..5dc3d56 100644
--- a/semver.iml
+++ b/semver.iml
@@ -1,5 +1,5 @@
-