aboutsummaryrefslogtreecommitdiff
path: root/runners/ant/src/main
diff options
context:
space:
mode:
authorKamil Doległo <kamilok1965@interia.pl>2019-03-20 15:30:26 +0100
committerKamil Doległo <kamilok1965@interia.pl>2019-03-20 15:30:26 +0100
commit7fcc719acbd7e13ab65d121652d5618557420eed (patch)
treef0c68ac849bdfff4ea0d78f9e51e47cdc9e1ff97 /runners/ant/src/main
parent4835842c994eaddfb446202d46917000f1e47b17 (diff)
downloaddokka-7fcc719acbd7e13ab65d121652d5618557420eed.tar.gz
dokka-7fcc719acbd7e13ab65d121652d5618557420eed.tar.bz2
dokka-7fcc719acbd7e13ab65d121652d5618557420eed.zip
Fix ant
Diffstat (limited to 'runners/ant/src/main')
-rw-r--r--runners/ant/src/main/kotlin/ant/dokka.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/runners/ant/src/main/kotlin/ant/dokka.kt b/runners/ant/src/main/kotlin/ant/dokka.kt
index fe793396..a54d1351 100644
--- a/runners/ant/src/main/kotlin/ant/dokka.kt
+++ b/runners/ant/src/main/kotlin/ant/dokka.kt
@@ -172,7 +172,7 @@ class DokkaAntTask: Task(), DokkaConfiguration {
if (sourceLink.path == null) {
throw BuildException("'path' attribute of a <sourceLink> element is required")
}
- if (sourceLink.path.contains("\\")) {
+ if (sourceLink.path!!.contains("\\")) {
throw BuildException("'dir' attribute of a <sourceLink> - incorrect value, only Unix based path allowed")
}