Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for otherScript (0.18 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/internal/changedetection/state/TaskCustomTypesInputPropertyIntegrationTest.groovy

            run "someTask"
    
            then:
            skipped(":someTask")
        }
    
        def "task can take an input with custom type defined in a build script plugin"() {
            def otherScript = file("other.gradle")
            otherScript << """
    someTask.inputs.property "someValue", new CustomType("value1")
    
    ${customSerializableType()}
    """
            buildFile """
    task someTask {
        def f = file("build/e1")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 22 16:04:50 UTC 2022
    - 9.9K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/internal/changedetection/state/TaskEnumTypesInputPropertyIntegrationTest.groovy

            run "someTask"
    
            then:
            skipped(":someTask")
        }
    
        def "task can take an input with enum type defined in the build script plugin"() {
            def otherScript = file('other.gradle')
            otherScript << """
    someTask.inputs.property "someEnum", SomeEnum.E1
    
    enum SomeEnum {
        E1, E2
    }
    """
            buildFile << """
    task someTask {
        def f = file("build/e1")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 8.6K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformCachingIntegrationTest.groovy

            given:
            // Use another script to define the value, so that transform implementation does not change when the value is changed
            def otherScript = file("other.gradle")
            otherScript.text = "ext.value = 123"
    
            buildFile << """
                apply from: 'other.gradle'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 11:52:44 UTC 2024
    - 97.8K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/configuration/ApplyScriptPluginBuildOperationIntegrationTest.groovy

        def "captures gradle script events"() {
            given:
            def otherScript2 = file("script2.gradle") << ""
            def otherScript1 = file("script1.gradle") << """
                apply from: "${normaliseFileSeparators(otherScript2.absolutePath)}"
            """
            def initScript = file("init.gradle") << """
                apply from: "${normaliseFileSeparators(otherScript1.absolutePath)}"
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:56:08 UTC 2021
    - 6.4K bytes
    - Viewed (0)
Back to top