From 42b452892ff7feea077d03f437be3d2565fd4946 Mon Sep 17 00:00:00 2001 From: Nicolas Presseault Date: Fri, 27 Sep 2024 10:19:15 -0400 Subject: [PATCH] Fix issue with kword directory which should have been marked as output directory instead of input. --- .../src/main/kotlin/com.mirego.kword/KWordEnumGenerate.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trikot-kword/kword-plugin/src/main/kotlin/com.mirego.kword/KWordEnumGenerate.kt b/trikot-kword/kword-plugin/src/main/kotlin/com.mirego.kword/KWordEnumGenerate.kt index 00cb624a..41d418aa 100644 --- a/trikot-kword/kword-plugin/src/main/kotlin/com.mirego.kword/KWordEnumGenerate.kt +++ b/trikot-kword/kword-plugin/src/main/kotlin/com.mirego.kword/KWordEnumGenerate.kt @@ -14,8 +14,8 @@ import org.gradle.api.file.RegularFile import org.gradle.api.provider.Property import org.gradle.api.provider.Provider import org.gradle.api.tasks.Input -import org.gradle.api.tasks.InputDirectory import org.gradle.api.tasks.InputFiles +import org.gradle.api.tasks.OutputDirectory import org.gradle.api.tasks.OutputFile import org.gradle.api.tasks.TaskAction import java.util.Locale @@ -28,7 +28,7 @@ abstract class KWordEnumGenerate : DefaultTask() { @get:Input abstract val enumClassName: Property - @get:InputDirectory + @get:OutputDirectory abstract val generatedDir: DirectoryProperty @get:OutputFile