diff --git a/README.md b/README.md index b20bd4b..7def683 100644 --- a/README.md +++ b/README.md @@ -248,7 +248,7 @@ var semverProcessor = "net.thauvin.erik:semver:1.2.0" dependencies { kapt(semverProcessor) - compileOnly(semverProcessor) + implementation (semverProcessor) } kapt { diff --git a/docs/README.html b/docs/README.html index 0fa5011..aaea2f5 100644 --- a/docs/README.html +++ b/docs/README.html @@ -93,18 +93,18 @@
Please look at pom.xml in the Java example directory for a sample:
- +To install and run from Gradle, add the following to build.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'
}
The GeneratedVersion
class will be automatically created in the build/generated
directory upon compiling.
As of Kotlin 1.2.30, when using kapt
you must include the following in gradle.properties
:
The arguments block is not required if kapt
is configured to use the Gradle Worker API in gradle.properties
:
This option will likely be enabled by default in the future, but is currently not working under Java 10/11 see KT-26203.
+This option will likely be enabled by default in the future, but is currently not working under Java 10+ see KT-26203.
Please look at the Kotlin example project for a build.gradle.kts sample.
To install and run from Kobalt, add the following to Build.kt
: