From b1e53fad7c472ee9d57930c2a49e111132db50ae Mon Sep 17 00:00:00 2001 From: JFronny Date: Wed, 23 Oct 2024 18:55:39 +0200 Subject: [PATCH] fix: make BumpVersionTask.typeSupplement optional --- .../main/kotlin/io/gitlab/jfronny/scripts/BumpVersionTask.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/convention/src/main/kotlin/io/gitlab/jfronny/scripts/BumpVersionTask.kt b/convention/src/main/kotlin/io/gitlab/jfronny/scripts/BumpVersionTask.kt index f0322a5..4685bca 100644 --- a/convention/src/main/kotlin/io/gitlab/jfronny/scripts/BumpVersionTask.kt +++ b/convention/src/main/kotlin/io/gitlab/jfronny/scripts/BumpVersionTask.kt @@ -6,6 +6,7 @@ import org.gradle.api.file.DirectoryProperty import org.gradle.api.provider.Property import org.gradle.api.tasks.Input import org.gradle.api.tasks.InputDirectory +import org.gradle.api.tasks.Optional import org.gradle.api.tasks.TaskAction abstract class BumpVersionTask : DefaultTask() { @@ -18,7 +19,7 @@ abstract class BumpVersionTask : DefaultTask() { @get:Input abstract val nextVersionType: Property @get:Input abstract val nextRelease: Property @get:Input abstract val lastRelease: Property - @get:Input abstract val typeSupplement: Property + @get:Input @get:Optional abstract val typeSupplement: Property @TaskAction fun action() {