aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Doległo <kamilok1965@interia.pl>2019-09-23 10:26:51 +0200
committerKamil Doległo <kamilok1965@interia.pl>2019-11-28 11:30:54 +0100
commit5e91a085f0bc508e5a9d5f29f27bb2ced8f4e3f1 (patch)
treebfa9c53c234c5383026ae9f9098401d1260c12e6
parente0be6a3d4536ad6aa2d764d96169cd0ca17613b8 (diff)
downloaddokka-5e91a085f0bc508e5a9d5f29f27bb2ced8f4e3f1.tar.gz
dokka-5e91a085f0bc508e5a9d5f29f27bb2ced8f4e3f1.tar.bz2
dokka-5e91a085f0bc508e5a9d5f29f27bb2ced8f4e3f1.zip
Readme update for the androidVariant
-rw-r--r--README.md11
1 files 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