aboutsummaryrefslogtreecommitdiff
path: root/plugins/templating/src/main/kotlin/templates/FallbackTemplateProcessingStrategy.kt
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/templating/src/main/kotlin/templates/FallbackTemplateProcessingStrategy.kt')
-rw-r--r--plugins/templating/src/main/kotlin/templates/FallbackTemplateProcessingStrategy.kt10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/templating/src/main/kotlin/templates/FallbackTemplateProcessingStrategy.kt b/plugins/templating/src/main/kotlin/templates/FallbackTemplateProcessingStrategy.kt
index 4e88c318..fdd9059d 100644
--- a/plugins/templating/src/main/kotlin/templates/FallbackTemplateProcessingStrategy.kt
+++ b/plugins/templating/src/main/kotlin/templates/FallbackTemplateProcessingStrategy.kt
@@ -1,13 +1,13 @@
package org.jetbrains.dokka.templates
+import org.jetbrains.dokka.DokkaConfiguration
import org.jetbrains.dokka.plugability.DokkaContext
import java.io.File
-import java.nio.file.Files
-class FallbackTemplateProcessingStrategy(dokkaContext: DokkaContext) : TemplateProcessingStrategy {
+class FallbackTemplateProcessingStrategy : TemplateProcessingStrategy {
- override fun process(input: File, output: File): Boolean {
- if(input != output) input.copyTo(output, overwrite = true)
+ override fun process(input: File, output: File, moduleContext: DokkaConfiguration.DokkaModuleDescription?): Boolean {
+ if (input != output) input.copyTo(output, overwrite = true)
return true
}
-} \ No newline at end of file
+}