diff options
author | Kamil Doległo <kamilok1965@interia.pl> | 2019-09-23 10:26:51 +0200 |
---|---|---|
committer | Kamil Doległo <kamilok1965@interia.pl> | 2019-11-28 11:30:54 +0100 |
commit | 5e91a085f0bc508e5a9d5f29f27bb2ced8f4e3f1 (patch) | |
tree | bfa9c53c234c5383026ae9f9098401d1260c12e6 | |
parent | e0be6a3d4536ad6aa2d764d96169cd0ca17613b8 (diff) | |
download | dokka-5e91a085f0bc508e5a9d5f29f27bb2ced8f4e3f1.tar.gz dokka-5e91a085f0bc508e5a9d5f29f27bb2ced8f4e3f1.tar.bz2 dokka-5e91a085f0bc508e5a9d5f29f27bb2ced8f4e3f1.zip |
Readme update for the androidVariant
-rw-r--r-- | README.md | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -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 |