Fixed version number.

This commit is contained in:
Erik C. Thauvin 2017-05-10 11:55:38 -07:00
parent 05fc5f6a47
commit 0c7781d6b4
3 changed files with 11 additions and 10 deletions

View file

@ -347,7 +347,7 @@ code > span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Inf
<h4 id="class-generation">Class Generation</h4>
<p>To install and run from <a href="https://gradle.org/">Gradle</a>, add the following to the <code>build.gradle</code> file:</p>
<pre class="gradle"><code>dependencies {
compileOnly &#39;net.thauvin.erik:semver:1.0&#39;
compileOnly &#39;net.thauvin.erik:semver:1.0.0&#39;
}</code></pre>
<p>The <code>GeneratedVersion</code> class will be automatically created in the <code>build/generated</code> directory upon compiling.</p>
<h4 id="class-source-generation">Class &amp; Source Generation</h4>
@ -357,11 +357,11 @@ code > span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Inf
}</code></pre>
<p>Then add the following to the <code>build.gradle</code> file:</p>
<pre class="gradle"><code>dependencies {
compileOnly &#39;net.thauvin.erik:semver:1.0&#39;
compileOnly &#39;net.thauvin.erik:semver:1.0.0&#39;
}
annotationProcessor {
library &#39;net.thauvin.erik:semver:1.0&#39;
library &#39;net.thauvin.erik:semver:1.0.0&#39;
processor &#39;net.thauvin.erik.semver.VersionProcessor&#39;
// sourcesDir &#39;src/generated/java&#39;
}
@ -375,8 +375,8 @@ compileJava {
<h3 id="kobalt">Kobalt</h3>
<p>To install and run from <a href="http://beust.com/kobalt/">Kobalt</a>, add the following to the <code>Build.kt</code> file:</p>
<pre class="gradle"><code>dependencies {
apt(&quot;net.thauvin.erik:semver:1.0&quot;)
compileOnly(&quot;net.thauvin.erik:semver:1.0&quot;)
apt(&quot;net.thauvin.erik:semver:1.0.0&quot;)
compileOnly(&quot;net.thauvin.erik:semver:1.0.0&quot;)
}</code></pre>
<p>Please look at the <a href="https://github.com/ethauvin/semver/blob/master/example/kobalt/src/Build.kt">Build.kt</a> file in the <a href="https://github.com/ethauvin/semver/tree/master/example">example</a> module directory for a sample.</p>
<h3 id="kotlin">Kotlin</h3>

View file

@ -174,7 +174,7 @@ To install and run from [Gradle](https://gradle.org/), add the following to the
```gradle
dependencies {
compileOnly 'net.thauvin.erik:semver:1.0'
compileOnly 'net.thauvin.erik:semver:1.0.0'
}
```
@ -194,11 +194,11 @@ Then add the following to the `build.gradle` file:
```gradle
dependencies {
compileOnly 'net.thauvin.erik:semver:1.0'
compileOnly 'net.thauvin.erik:semver:1.0.0'
}
annotationProcessor {
library 'net.thauvin.erik:semver:1.0'
library 'net.thauvin.erik:semver:1.0.0'
processor 'net.thauvin.erik.semver.VersionProcessor'
// sourcesDir 'src/generated/java'
}
@ -219,8 +219,8 @@ To install and run from [Kobalt](http://beust.com/kobalt/), add the following to
```gradle
dependencies {
apt("net.thauvin.erik:semver:1.0")
compileOnly("net.thauvin.erik:semver:1.0")
apt("net.thauvin.erik:semver:1.0.0")
compileOnly("net.thauvin.erik:semver:1.0.0")
}
```

View file

@ -94,6 +94,7 @@ val semver = project {
autoGitTag {
enabled = true
push = false
message = "Version $version"
}