Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for CustomSourceSet (0.3 sec)

  1. platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/LanguageSourceSetIntegrationTest.groovy

            model {
                lss(CustomSourceSet)
            }
            """
    
            when:
            succeeds "model"
    
            then:
            def modelNode = ModelReportOutput.from(output).modelNode
            modelNode.lss.@creator[0] == "lss(CustomSourceSet) @ build.gradle line 13, column 13"
            modelNode.lss.@type[0] == "CustomSourceSet"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  2. platforms/software/platform-base/src/test/groovy/org/gradle/platform/base/binary/BaseBinarySpecTest.groovy

            def binary = create(SampleBinary, MySampleBinary, "sampleBinary")
            def customSourceSet = Stub(LanguageSourceSet) {
                getName() >> "custom"
            }
            def inputSourceSet = Stub(LanguageSourceSet) {
                getName() >> "input"
            }
    
            when:
            binary.sources.put("custom", customSourceSet)
    
            then:
            binary.sources.values()*.name == ["custom"]
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  3. platforms/jvm/scala/src/test/groovy/org/gradle/api/plugins/scala/ScalaBasePluginTest.groovy

            when:
            project.sourceSets.create('custom')
            SourceSet customSourceSet = project.sourceSets.custom
            def task = project.tasks['compileCustomScala']
    
            then:
            task instanceof ScalaCompile
            task.description == 'Compiles the custom Scala source.'
            task.classpath.files as List == [
                customSourceSet.java.destinationDirectory.get().asFile
            ]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 5.5K bytes
    - Viewed (0)
Back to top