diff options
author | Kamil Doległo <kamilok1965@interia.pl> | 2019-04-15 13:26:26 +0200 |
---|---|---|
committer | Kamil Doległo <kamilok1965@interia.pl> | 2019-04-15 13:26:26 +0200 |
commit | d5864c672135bd2f5c7ce4fea5aeccd861796a47 (patch) | |
tree | 25b61fcd03f42b2ec5ee57da440b427f3a72bfac /runners/android-gradle-plugin/src/main/kotlin | |
parent | 64305246bf6a22a4111c11dc3c671297cf223393 (diff) | |
download | dokka-d5864c672135bd2f5c7ce4fea5aeccd861796a47.tar.gz dokka-d5864c672135bd2f5c7ce4fea5aeccd861796a47.tar.bz2 dokka-d5864c672135bd2f5c7ce4fea5aeccd861796a47.zip |
Light refactoring
Diffstat (limited to 'runners/android-gradle-plugin/src/main/kotlin')
-rw-r--r-- | runners/android-gradle-plugin/src/main/kotlin/mainAndroid.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runners/android-gradle-plugin/src/main/kotlin/mainAndroid.kt b/runners/android-gradle-plugin/src/main/kotlin/mainAndroid.kt index 2fbeaae7..367b9257 100644 --- a/runners/android-gradle-plugin/src/main/kotlin/mainAndroid.kt +++ b/runners/android-gradle-plugin/src/main/kotlin/mainAndroid.kt @@ -3,8 +3,8 @@ 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 org.jetbrains.dokka.DokkaConfiguration.SourceRoot import java.io.File open class DokkaAndroidPlugin : Plugin<Project> { @@ -24,7 +24,7 @@ open class DokkaAndroidTask : DokkaTask() { @Input var noAndroidSdkLink: Boolean = false - override fun collectSuppressedFiles(sourceRoots: List<DokkaConfiguration.SourceRoot>): List<String> { + override fun collectSuppressedFiles(sourceRoots: List<SourceRoot>): List<String> { val generatedRoot = project.buildDir.resolve("generated").absoluteFile return sourceRoots .map { File(it.path) } |