Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for otherScript (0.16 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. 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)
Back to top