aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorKamil Doległo <kamilok1965@interia.pl>2019-04-29 11:29:23 +0200
committerKamil Doległo <kamilok1965@interia.pl>2019-04-29 11:31:26 +0200
commit2bab59fee39cd60ad80327d528771015a5903639 (patch)
tree56395a99ba22930af2dc7a6b7bd504b96aef51cf /README.md
parent06af978842577ad19639b827cf33c4514347afa4 (diff)
downloaddokka-2bab59fee39cd60ad80327d528771015a5903639.tar.gz
dokka-2bab59fee39cd60ad80327d528771015a5903639.tar.bz2
dokka-2bab59fee39cd60ad80327d528771015a5903639.zip
Fix for analysis platform
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index 8540eda8..564dbe79 100644
--- a/README.md
+++ b/README.md
@@ -96,6 +96,8 @@ dokka {
targets = ["JVM"] // See platforms section of documentation
+ platform = "JVM" // Platform used for code analysis
+
// Manual adding files to classpath
// This property not overrides classpath collected from kotlinTasks but appends to it
classpath = [new File("$buildDir/other.jar")]
@@ -175,6 +177,7 @@ dokka {
multiplatform {
js { // the name here is arbitrary
targets = ["JS"]
+ platform = "js"
sourceRoot {
path = kotlin.sourceSets.jsMain.kotlin.srcDirs[0]
}
@@ -185,6 +188,7 @@ dokka {
jvm { // the name here is arbitrary
targets = ["JVM"]
+ platform = "jvm"
sourceRoot {
path = kotlin.sourceSets.jvmMain.kotlin.srcDirs[0]
}