From 7fcc719acbd7e13ab65d121652d5618557420eed Mon Sep 17 00:00:00 2001 From: Kamil Doległo Date: Wed, 20 Mar 2019 15:30:26 +0100 Subject: Fix ant --- runners/ant/src/main/kotlin/ant/dokka.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runners') 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 element is required") } - if (sourceLink.path.contains("\\")) { + if (sourceLink.path!!.contains("\\")) { throw BuildException("'dir' attribute of a - incorrect value, only Unix based path allowed") } -- cgit