aboutsummaryrefslogtreecommitdiff
path: root/runners/gradle-plugin
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2016-12-08 15:50:12 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2016-12-08 15:50:12 +0300
commit80ffa21263496016901010eabbf5fadaf4a94b6f (patch)
treedf8ea57daf6bf669dc54bbf55f5ace6e7ecf6d26 /runners/gradle-plugin
parent25b9aa91139063e977a06aec0b3f1b30f05a172a (diff)
downloaddokka-80ffa21263496016901010eabbf5fadaf4a94b6f.tar.gz
dokka-80ffa21263496016901010eabbf5fadaf4a94b6f.tar.bz2
dokka-80ffa21263496016901010eabbf5fadaf4a94b6f.zip
Dokka ClassLoader for Gradle now complete isolated from Gradle Env
Diffstat (limited to 'runners/gradle-plugin')
-rw-r--r--runners/gradle-plugin/src/main/kotlin/main.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/runners/gradle-plugin/src/main/kotlin/main.kt b/runners/gradle-plugin/src/main/kotlin/main.kt
index 51061415..f2800335 100644
--- a/runners/gradle-plugin/src/main/kotlin/main.kt
+++ b/runners/gradle-plugin/src/main/kotlin/main.kt
@@ -95,7 +95,7 @@ open class DokkaTask : DefaultTask() {
configuration.resolve().first()
}
- fatJarClassLoader = URLClassLoader(arrayOf(fatjar.toURI().toURL()))
+ fatJarClassLoader = URLClassLoader(arrayOf(fatjar.toURI().toURL()), ClassLoader.getSystemClassLoader().parent)
}
}