fix: make BumpVersionTask.typeSupplement optional
All checks were successful
ci/woodpecker/push/pages Pipeline was successful
ci/woodpecker/push/gradle Pipeline was successful

This commit is contained in:
Johannes Frohnmeyer 2024-10-23 18:55:39 +02:00
parent 4b7a5ac5e9
commit b1e53fad7c
Signed by: Johannes
GPG Key ID: E76429612C2929F4

View File

@ -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<String>
@get:Input abstract val nextRelease: Property<SemanticVersion>
@get:Input abstract val lastRelease: Property<String>
@get:Input abstract val typeSupplement: Property<String>
@get:Input @get:Optional abstract val typeSupplement: Property<String>
@TaskAction
fun action() {