Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for conventionPropertiesAreInheritable (0.38 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultProjectTest.groovy

            project.ext.somename = 'somevalue'
            then:
            project.inheritedScope.hasProperty('somename')
            project.inheritedScope.getProperty('somename') == 'somevalue'
        }
    
        def conventionPropertiesAreInheritable() {
            when:
            project.convention.plugins.test = new TestConvention()
            project.convention.plugins.test.conv = 'somevalue'
            then:
            project.inheritedScope.hasProperty('conv')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 35.1K bytes
    - Viewed (0)
Back to top