aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2017-02-24 13:25:20 +0100
committerDmitry Jemerov <yole@jetbrains.com>2017-02-24 13:25:20 +0100
commitc8bef5fdac93e62ea3e367012769d34fa838ae7a (patch)
tree524c6e9be5c028d2c49a19032bf16fbfb6dfe8f5
parent82912c082b729d7dba7e6f6bd9b3656222ffcc00 (diff)
downloaddokka-c8bef5fdac93e62ea3e367012769d34fa838ae7a.tar.gz
dokka-c8bef5fdac93e62ea3e367012769d34fa838ae7a.tar.bz2
dokka-c8bef5fdac93e62ea3e367012769d34fa838ae7a.zip
Allow to specify implied platforms in Ant scripts
-rw-r--r--runners/ant/src/main/kotlin/ant/dokka.kt4
1 files changed, 3 insertions, 1 deletions
diff --git a/runners/ant/src/main/kotlin/ant/dokka.kt b/runners/ant/src/main/kotlin/ant/dokka.kt
index 65cc0b51..e9cb35a2 100644
--- a/runners/ant/src/main/kotlin/ant/dokka.kt
+++ b/runners/ant/src/main/kotlin/ant/dokka.kt
@@ -26,6 +26,7 @@ class DokkaAntTask: Task() {
var moduleName: String? = null
var outputDir: String? = null
var outputFormat: String = "html"
+ var impliedPlatforms: String = ""
var jdkVersion: Int = 6
var skipDeprecated: Boolean = false
@@ -100,7 +101,8 @@ class DokkaAntTask: Task() {
DocumentationOptions(outputDir!!, outputFormat,
skipDeprecated = skipDeprecated,
sourceLinks = sourceLinks,
- jdkVersion = jdkVersion)
+ jdkVersion = jdkVersion,
+ impliedPlatforms = impliedPlatforms.split(','))
)
generator.generate()
}