aboutsummaryrefslogtreecommitdiff
path: root/runners/android-gradle-plugin/src/main/kotlin/mainAndroid.kt
diff options
context:
space:
mode:
authorKamil Doległo <kamilok1965@interia.pl>2019-04-10 16:04:02 +0200
committerKamil Doległo <kamilok1965@interia.pl>2019-04-10 16:04:14 +0200
commit7c56f29fcf550faaf22b81bed4afed8e2f803be1 (patch)
tree4bf4005fa5ad4e80e0b3ff5103f05767e9b83527 /runners/android-gradle-plugin/src/main/kotlin/mainAndroid.kt
parent49800d9c8276ec8851bcc3b181563cd6e0f8f4b9 (diff)
downloaddokka-7c56f29fcf550faaf22b81bed4afed8e2f803be1.tar.gz
dokka-7c56f29fcf550faaf22b81bed4afed8e2f803be1.tar.bz2
dokka-7c56f29fcf550faaf22b81bed4afed8e2f803be1.zip
Rework Gradle plugin, autoconfiguration not working yet
Diffstat (limited to 'runners/android-gradle-plugin/src/main/kotlin/mainAndroid.kt')
-rw-r--r--runners/android-gradle-plugin/src/main/kotlin/mainAndroid.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/runners/android-gradle-plugin/src/main/kotlin/mainAndroid.kt b/runners/android-gradle-plugin/src/main/kotlin/mainAndroid.kt
index b1996da0..2fbeaae7 100644
--- a/runners/android-gradle-plugin/src/main/kotlin/mainAndroid.kt
+++ b/runners/android-gradle-plugin/src/main/kotlin/mainAndroid.kt
@@ -3,6 +3,7 @@ package org.jetbrains.dokka.gradle
import org.gradle.api.Plugin
import org.gradle.api.Project
import org.gradle.api.tasks.Input
+import org.jetbrains.dokka.DokkaConfiguration
import org.jetbrains.dokka.DokkaConfiguration.ExternalDocumentationLink.Builder
import java.io.File
@@ -23,7 +24,7 @@ open class DokkaAndroidTask : DokkaTask() {
@Input var noAndroidSdkLink: Boolean = false
- override fun collectSuppressedFiles(sourceRoots: List<SourceRoot>): List<String> {
+ override fun collectSuppressedFiles(sourceRoots: List<DokkaConfiguration.SourceRoot>): List<String> {
val generatedRoot = project.buildDir.resolve("generated").absoluteFile
return sourceRoots
.map { File(it.path) }