aboutsummaryrefslogtreecommitdiff
path: root/runners/gradle-plugin/src/main
diff options
context:
space:
mode:
authorKamil Doległo <kamilok1965@interia.pl>2020-04-23 15:37:42 +0200
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-04-23 16:38:18 +0200
commite3fdf22d59812c0e4903491085fac3d614128ae4 (patch)
tree28981ff5fda40ab317ec97e1e45753a65d557b36 /runners/gradle-plugin/src/main
parent620a204b6d659b1723c6f795c0aecbd143740736 (diff)
downloaddokka-e3fdf22d59812c0e4903491085fac3d614128ae4.tar.gz
dokka-e3fdf22d59812c0e4903491085fac3d614128ae4.tar.bz2
dokka-e3fdf22d59812c0e4903491085fac3d614128ae4.zip
Fix creating absolute paths for output files
Diffstat (limited to 'runners/gradle-plugin/src/main')
-rw-r--r--runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaTask.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaTask.kt b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaTask.kt
index 4f7b88c4..fda1017a 100644
--- a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaTask.kt
+++ b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaTask.kt
@@ -175,7 +175,7 @@ open class DokkaTask : DefaultTask() {
val defaultModulesConfiguration = collectConfigurations()
.map { defaultPassConfiguration(it, globalConfig) }
return GradleDokkaConfigurationImpl().apply {
- outputDir = outputDirectory
+ outputDir = project.file(outputDirectory).absolutePath
format = outputFormat
generateIndexPages = true
cacheRoot = cacheRoot