Added link to generated source example.
This commit is contained in:
parent
ac2088aa54
commit
c895e40d3e
2 changed files with 3 additions and 3 deletions
|
@ -34,7 +34,7 @@ version.prerelease=beta
|
|||
|
||||
## Template
|
||||
|
||||
Upon running the annotator processor, a source file `GeneratedVersion.java` is automatically generated with static methods to access the semantic version data. The source is based on a fully customizable [Velocity](http://velocity.apache.org/) template.
|
||||
Upon running the annotator processor, a source file [`GeneratedVersion.java`](https://github.com/ethauvin/semver/blob/master/example/src/generated/java/net/thauvin/erik/semver/example/GeneratedVersion.java) is automatically generated with static methods to access the semantic version data. The source is based on a fully customizable [Velocity](http://velocity.apache.org/) template.
|
||||
|
||||
```java
|
||||
@Version(template = "myversion.vm")
|
||||
|
@ -198,4 +198,4 @@ For a solution using [Gradle](https://gradle.org/), please have a look at the [b
|
|||
|
||||
```
|
||||
gradle clean release run
|
||||
```
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue