diff options
author | Kamil Doległo <kamilok1965@interia.pl> | 2019-03-20 15:30:26 +0100 |
---|---|---|
committer | Kamil Doległo <kamilok1965@interia.pl> | 2019-03-20 15:30:26 +0100 |
commit | 7fcc719acbd7e13ab65d121652d5618557420eed (patch) | |
tree | f0c68ac849bdfff4ea0d78f9e51e47cdc9e1ff97 /runners | |
parent | 4835842c994eaddfb446202d46917000f1e47b17 (diff) | |
download | dokka-7fcc719acbd7e13ab65d121652d5618557420eed.tar.gz dokka-7fcc719acbd7e13ab65d121652d5618557420eed.tar.bz2 dokka-7fcc719acbd7e13ab65d121652d5618557420eed.zip |
Fix ant
Diffstat (limited to 'runners')
-rw-r--r-- | runners/ant/src/main/kotlin/ant/dokka.kt | 2 |
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") } |