Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for OtherNestedBean (0.11 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/internal/project/taskfactory/TaskPropertyNamingIntegrationTest.groovy

                    @Input
                    input
                }
    
                class OtherNestedBean {
                    @Input
                    secondInput
                }
    
                task test(type: TaskWithNestedBean) {
                    beans = [new NestedBean(input: 'someString'), new OtherNestedBean(secondInput: 'otherString')]
                }
                task printMetadata(type: PrintInputsAndOutputs) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 21 19:38:50 UTC 2022
    - 16.8K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/NestedInputIntegrationTest.groovy

                }
    
                class OtherNestedBean {
                    @Input
                    input
                }
    
                boolean useOther = providers.gradleProperty('useOther').present
    
                task myTask(type: TaskWithNestedInput) {
                    outputFile = file('build/output.txt')
                    nested = useOther ? new OtherNestedBean(input: 'string') : new NestedBean(input: 'string')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 42.6K bytes
    - Viewed (0)
Back to top