From 5e91a085f0bc508e5a9d5f29f27bb2ced8f4e3f1 Mon Sep 17 00:00:00 2001 From: Kamil Doległo Date: Mon, 23 Sep 2019 10:26:51 +0200 Subject: Readme update for the androidVariant --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 43e5ac9d..ccf92094 100644 --- a/README.md +++ b/README.md @@ -376,8 +376,15 @@ apply plugin: 'org.jetbrains.dokka' ``` There is also a `noAndroidSdkLink` configuration parameter that works similar to `noJdkLink` and `noStdlibLink` -By default the variant documented by dokka is the first release variant encountered. If you want to change that, -you can disable the autoconfiguration and configure dokka manually. +By default the variant documented by dokka is the first release variant encountered. +You can override that by setting the `androidVariant` property inside the `configuration` (or specific platform) block: +```groovy +dokka { + configuration { + androidVariant = "debug" + } +} +``` ### Using the Maven plugin -- cgit