mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-07-03 22:20:56 +00:00
@Input and @Internal should not be apply on the same property (#9059)
Motivation: In Gradle 7.0 apply @Input and @Internal on property is forbidden. Before Gradle 7.0 applying both on the same property is confusing. According to the documentation: * @Input: Attached to a task property to indicate that the property specifies some input value for the task. * @Internal: Attached to a task property to indicate that the property is not to be taken into account for up-to-date checking
This commit is contained in:
parent
dbdb6c51c4
commit
9edf70e980
@ -81,9 +81,8 @@ open class GenerateTask : DefaultTask() {
|
||||
val outputDir = project.objects.property<String>()
|
||||
|
||||
@Suppress("unused")
|
||||
@get:Internal
|
||||
@set:Option(option = "input", description = "The input specification.")
|
||||
@Input
|
||||
@Internal
|
||||
var input: String? = null
|
||||
set(value) {
|
||||
inputSpec.set(value)
|
||||
|
Loading…
x
Reference in New Issue
Block a user