aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Doległo <kamilok1965@interia.pl>2019-04-10 17:40:06 +0200
committerKamil Doległo <kamilok1965@interia.pl>2019-04-10 17:40:06 +0200
commitc59e7aade5a8ad1f0f93fa6650d39d3ec2fd2bfa (patch)
tree452a31bce2d8cc619a78316c7e885c77f5077068
parent1cfe0bb4ad850555b20620618349f02b62aac66a (diff)
downloaddokka-c59e7aade5a8ad1f0f93fa6650d39d3ec2fd2bfa.tar.gz
dokka-c59e7aade5a8ad1f0f93fa6650d39d3ec2fd2bfa.tar.bz2
dokka-c59e7aade5a8ad1f0f93fa6650d39d3ec2fd2bfa.zip
Remove some code that looks dead
-rw-r--r--runners/gradle-plugin/src/main/kotlin/dokkaTask.kt18
1 files changed, 0 insertions, 18 deletions
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"