fix: make BumpVersionTask.typeSupplement optional
This commit is contained in:
parent
4b7a5ac5e9
commit
b1e53fad7c
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user