diff options
author | Krystian Ujma <krystianujma@gmail.com> | 2019-03-01 14:45:22 +0100 |
---|---|---|
committer | Simon Ogorodnik <simon.ogorodnik@gmail.com> | 2019-03-01 16:45:22 +0300 |
commit | 9a4f7fec6b1ad37ffdce653ec9edc0fc269cfe97 (patch) | |
tree | 91d4c479e78f1237f6d93af53d50b3b68bafdb38 /runners/android-gradle-plugin/src/main | |
parent | 01f2f0372410ff500c59247b639660161b314afa (diff) | |
download | dokka-9a4f7fec6b1ad37ffdce653ec9edc0fc269cfe97.tar.gz dokka-9a4f7fec6b1ad37ffdce653ec9edc0fc269cfe97.tar.bz2 dokka-9a4f7fec6b1ad37ffdce653ec9edc0fc269cfe97.zip |
Fix dokka runtime classpath configuration (#432)
#316 Fixed
Diffstat (limited to 'runners/android-gradle-plugin/src/main')
-rw-r--r-- | runners/android-gradle-plugin/src/main/kotlin/mainAndroid.kt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runners/android-gradle-plugin/src/main/kotlin/mainAndroid.kt b/runners/android-gradle-plugin/src/main/kotlin/mainAndroid.kt index bd2e88c2..b1996da0 100644 --- a/runners/android-gradle-plugin/src/main/kotlin/mainAndroid.kt +++ b/runners/android-gradle-plugin/src/main/kotlin/mainAndroid.kt @@ -10,6 +10,7 @@ open class DokkaAndroidPlugin : Plugin<Project> { override fun apply(project: Project) { DokkaVersion.loadFrom(javaClass.getResourceAsStream("/META-INF/gradle-plugins/org.jetbrains.dokka-android.properties")) project.tasks.create("dokka", DokkaAndroidTask::class.java).apply { + dokkaRuntime = project.configurations.create("dokkaRuntime") moduleName = project.name outputDirectory = File(project.buildDir, "dokka").absolutePath } |