Fixed version number.
This commit is contained in:
parent
05fc5f6a47
commit
0c7781d6b4
3 changed files with 11 additions and 10 deletions
10
README.html
10
README.html
|
@ -347,7 +347,7 @@ code > span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Inf
|
||||||
<h4 id="class-generation">Class Generation</h4>
|
<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>
|
<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 {
|
<pre class="gradle"><code>dependencies {
|
||||||
compileOnly 'net.thauvin.erik:semver:1.0'
|
compileOnly 'net.thauvin.erik:semver:1.0.0'
|
||||||
}</code></pre>
|
}</code></pre>
|
||||||
<p>The <code>GeneratedVersion</code> class will be automatically created in the <code>build/generated</code> directory upon compiling.</p>
|
<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 & Source Generation</h4>
|
<h4 id="class-source-generation">Class & Source Generation</h4>
|
||||||
|
@ -357,11 +357,11 @@ code > span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Inf
|
||||||
}</code></pre>
|
}</code></pre>
|
||||||
<p>Then add the following to the <code>build.gradle</code> file:</p>
|
<p>Then add the following to the <code>build.gradle</code> file:</p>
|
||||||
<pre class="gradle"><code>dependencies {
|
<pre class="gradle"><code>dependencies {
|
||||||
compileOnly 'net.thauvin.erik:semver:1.0'
|
compileOnly 'net.thauvin.erik:semver:1.0.0'
|
||||||
}
|
}
|
||||||
|
|
||||||
annotationProcessor {
|
annotationProcessor {
|
||||||
library 'net.thauvin.erik:semver:1.0'
|
library 'net.thauvin.erik:semver:1.0.0'
|
||||||
processor 'net.thauvin.erik.semver.VersionProcessor'
|
processor 'net.thauvin.erik.semver.VersionProcessor'
|
||||||
// sourcesDir 'src/generated/java'
|
// sourcesDir 'src/generated/java'
|
||||||
}
|
}
|
||||||
|
@ -375,8 +375,8 @@ compileJava {
|
||||||
<h3 id="kobalt">Kobalt</h3>
|
<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>
|
<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 {
|
<pre class="gradle"><code>dependencies {
|
||||||
apt("net.thauvin.erik:semver:1.0")
|
apt("net.thauvin.erik:semver:1.0.0")
|
||||||
compileOnly("net.thauvin.erik:semver:1.0")
|
compileOnly("net.thauvin.erik:semver:1.0.0")
|
||||||
}</code></pre>
|
}</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>
|
<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>
|
<h3 id="kotlin">Kotlin</h3>
|
||||||
|
|
10
README.md
10
README.md
|
@ -174,7 +174,7 @@ To install and run from [Gradle](https://gradle.org/), add the following to the
|
||||||
|
|
||||||
```gradle
|
```gradle
|
||||||
dependencies {
|
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
|
```gradle
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly 'net.thauvin.erik:semver:1.0'
|
compileOnly 'net.thauvin.erik:semver:1.0.0'
|
||||||
}
|
}
|
||||||
|
|
||||||
annotationProcessor {
|
annotationProcessor {
|
||||||
library 'net.thauvin.erik:semver:1.0'
|
library 'net.thauvin.erik:semver:1.0.0'
|
||||||
processor 'net.thauvin.erik.semver.VersionProcessor'
|
processor 'net.thauvin.erik.semver.VersionProcessor'
|
||||||
// sourcesDir 'src/generated/java'
|
// sourcesDir 'src/generated/java'
|
||||||
}
|
}
|
||||||
|
@ -219,8 +219,8 @@ To install and run from [Kobalt](http://beust.com/kobalt/), add the following to
|
||||||
|
|
||||||
```gradle
|
```gradle
|
||||||
dependencies {
|
dependencies {
|
||||||
apt("net.thauvin.erik:semver:1.0")
|
apt("net.thauvin.erik:semver:1.0.0")
|
||||||
compileOnly("net.thauvin.erik:semver:1.0")
|
compileOnly("net.thauvin.erik:semver:1.0.0")
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -94,6 +94,7 @@ val semver = project {
|
||||||
|
|
||||||
autoGitTag {
|
autoGitTag {
|
||||||
enabled = true
|
enabled = true
|
||||||
|
push = false
|
||||||
message = "Version $version"
|
message = "Version $version"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue