Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for canApplyABuildScript (0.29 sec)

  1. platforms/extensibility/unit-test-fixtures/src/test/groovy/org/gradle/testfixtures/ProjectBuilderTest.groovy

            def task = project.task('custom', type: CustomTask)
            task.doStuff()
    
            then:
            task.property == 'some value'
        }
    
        @LeaksFileHandles("script jar is held open")
        def canApplyABuildScript() {
            when:
            def project = buildProject()
            project.apply from: resources.getResource('ProjectBuilderTest.gradle')
    
            then:
            project.tasks.hello instanceof DefaultTask
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 21:54:27 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top