diff --git a/src/main/docs/guide/languageSupport/kotlin/kotlinretainparamnames.adoc b/src/main/docs/guide/languageSupport/kotlin/kotlinretainparamnames.adoc index f393542c72b..01473aab670 100644 --- a/src/main/docs/guide/languageSupport/kotlin/kotlinretainparamnames.adoc +++ b/src/main/docs/guide/languageSupport/kotlin/kotlinretainparamnames.adoc @@ -2,7 +2,7 @@ Like with Java, the parameter name data for method parameters is not retained at To enable retention of parameter name data with Kotlin, set the `javaParameters` option to `true` in your `build.gradle`: -.build.gradle +.configuration in Gradle [source,groovy] ---- compileTestKotlin { @@ -12,3 +12,29 @@ compileTestKotlin { } } ---- + +Or if using Maven configure the Micronaut Maven Plugin accordingly: + +.configuration in Maven +[source,xml] +---- + + + + + + + kotlin-maven-plugin + org.jetbrains.kotlin + + true + + + + + + + + +----