Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for realizeSourceSets (0.41 sec)

  1. platforms/software/platform-base/src/test/groovy/org/gradle/language/base/plugins/LanguageBasePluginTest.groovy

        }
    
        def "adds a 'sources' container to the project model"() {
            when:
            dsl {
                apply plugin: LanguageBasePlugin
            }
    
            then:
            realizeSourceSets() != null
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. platforms/software/platform-base/src/testFixtures/groovy/org/gradle/platform/base/PlatformBaseSpecification.groovy

        }
    
        ComponentSpecContainer realizeComponents() {
            project.modelRegistry.find("components", ComponentSpecContainer)
        }
    
        ProjectSourceSet realizeSourceSets() {
            project.modelRegistry.find("sources", ProjectSourceSet)
        }
    
        BinaryContainer realizeBinaries() {
            def binaries = project.modelRegistry.find("binaries", BinaryContainer)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/test/groovy/org/gradle/language/assembler/plugins/AssemblerPluginTest.groovy

            exe.sources instanceof ModelMap
            exe.sources.asm instanceof AssemblerSourceSet
            exe.sources.asm.source.srcDirs == [project.file("src/exe/asm")] as Set
    
            and:
            def sources = realizeSourceSets()
            sources as Set == exe.sources as Set
        }
    
        def "can configure source set locations"() {
            given:
            dsl {
                pluginManager.apply AssemblerPlugin
                model {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/test/groovy/org/gradle/language/AbstractNativeComponentPluginTest.groovy

            lib.sources."$pluginName".exportedHeaders.srcDirs == [project.file("src/lib/headers")] as Set
    
            and:
            def sources = realizeSourceSets()
            sources as Set == (lib.sources as Set) + (exe.sources as Set)
        }
    
        def "can configure source set locations"() {
            given:
            dsl {
                pluginManager.apply pluginClass
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 6K bytes
    - Viewed (0)
Back to top