From 72a47eb5d9771219b7dfe2b3ca824240d02fe505 Mon Sep 17 00:00:00 2001 From: DatLag Date: Wed, 14 Aug 2024 13:09:09 +0200 Subject: [PATCH] change create value task --- .../dev/datlag/sekret/gradle/tasks/CreateSekretValueTask.kt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sekret-gradle-plugin/src/main/java/dev/datlag/sekret/gradle/tasks/CreateSekretValueTask.kt b/sekret-gradle-plugin/src/main/java/dev/datlag/sekret/gradle/tasks/CreateSekretValueTask.kt index de1509c..abb5259 100644 --- a/sekret-gradle-plugin/src/main/java/dev/datlag/sekret/gradle/tasks/CreateSekretValueTask.kt +++ b/sekret-gradle-plugin/src/main/java/dev/datlag/sekret/gradle/tasks/CreateSekretValueTask.kt @@ -23,7 +23,8 @@ open class CreateSekretValueTask : DefaultTask() { open val enabled: Property = project.objects.property(Boolean::class.java) @get:InputFile - val propertiesFile: RegularFileProperty = project.objects.fileProperty() + @get:OutputFile + open val propertiesFile: RegularFileProperty = project.objects.fileProperty() @get:Input open val propertyName: Property = project.objects.property(String::class.java) @@ -31,9 +32,6 @@ open class CreateSekretValueTask : DefaultTask() { @get:Input open val propertyValue: Property = project.objects.property(String::class.java) - @get:OutputFile - val outputFile: RegularFileProperty = propertiesFile - init { group = "sekret" }