Changed compileOnly to implementation.

This commit is contained in:
Erik C. Thauvin 2019-05-25 14:30:13 -07:00
parent 90df90e543
commit 2102691d37
5 changed files with 5 additions and 5 deletions

View file

@ -206,7 +206,7 @@ To install and run from [Gradle](https://gradle.org/), add the following to `bui
```gradle
dependencies {
annotationProcessor 'net.thauvin.erik:semver:1.2.0'
compileOnly 'net.thauvin.erik:semver:1.2.0'
implementation 'net.thauvin.erik:semver:1.2.0'
}
```

View file

@ -25,7 +25,7 @@ repositories {
dependencies {
annotationProcessor semverProcessor
compileOnly semverProcessor
implementation semverProcessor
}
task runExample(type: JavaExec) {

View file

@ -9,7 +9,7 @@ import java.util.Date;
public final class ExampleVersion {
public static final String PROJECT = "Java Example";
public static final Date BUILDDATE = new Date(1558817026391L);
public static final Date BUILDDATE = new Date(1558819710621L);
public static final String VERSION = "8.4.97-alpha+T800";
/**

View file

@ -14,7 +14,7 @@ import java.util.Date;
*/
public final class GeneratedVersion {
public static final String PROJECT = "Java App";
public static final Date BUILDDATE = new Date(1558817026346L);
public static final Date BUILDDATE = new Date(1558819710769L);
public static final int MAJOR = 11;
public static final int MINOR = 11;
public static final int PATCH = 20;

View file

@ -17,7 +17,7 @@ val semverProcessor = "net.thauvin.erik:semver:1.2.0"
dependencies {
kapt(semverProcessor)
compileOnly(semverProcessor)
implementation(semverProcessor)
implementation(kotlin("stdlib"))
}