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() {