From c59e7aade5a8ad1f0f93fa6650d39d3ec2fd2bfa Mon Sep 17 00:00:00 2001 From: Kamil Doległo Date: Wed, 10 Apr 2019 17:40:06 +0200 Subject: Remove some code that looks dead --- runners/gradle-plugin/src/main/kotlin/dokkaTask.kt | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'runners/gradle-plugin/src/main/kotlin') diff --git a/runners/gradle-plugin/src/main/kotlin/dokkaTask.kt b/runners/gradle-plugin/src/main/kotlin/dokkaTask.kt index ef9cfd19..c95d1039 100644 --- a/runners/gradle-plugin/src/main/kotlin/dokkaTask.kt +++ b/runners/gradle-plugin/src/main/kotlin/dokkaTask.kt @@ -251,24 +251,6 @@ open class DokkaTask : DefaultTask() { return sourceRoots + (sourceDirs?.toSourceRoots() ?: emptyList()) } -// @Classpath -// fun getInputClasspath(): FileCollection { -// val (classpathFileCollection) = extractClasspathAndSourceRootsFromKotlinTasks() -// return project.files(classpath) + classpathFileCollection -// } - -// @InputFiles -// fun getInputFiles(): FileCollection { -// val (_, tasksSourceRoots) = extractClasspathAndSourceRootsFromKotlinTasks() -// return project.files(tasksSourceRoots.map { project.fileTree(it) }) + -// project.files(collectSourceRoots().map { project.fileTree(File(it.path)) }) + -// project.files(includes) + -// project.files(samples.filterNotNull().map { project.fileTree(it) }) -// } - -// @OutputDirectory -// fun getOutputDirectoryAsFile(): File = project.file(outputDirectory) - companion object { const val COLORS_ENABLED_PROPERTY = "kotlin.colors.enabled" const val ABSTRACT_KOTLIN_COMPILE = "org.jetbrains.kotlin.gradle.tasks.AbstractKotlinCompile" -- cgit