Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for customValue (0.33 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelClasspathAttributesCrossVersionSpec.groovy

                       containers 'containerPath'
                       file {
                           whenMerged { classpath ->
                               classpath.entries.find { it.path == 'containerPath' }.entryAttributes.customKey = 'customValue'
                           }
                       }
                   }
               }
            """
    
            when:
            EclipseProject project = loadToolingModel(EclipseProject)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelSourceFolderClasspathAttributesCrossVersionSpec.groovy

                   classpath {
                       file {
                           whenMerged { classpath ->
                               classpath.entries.find { it.kind == 'src' && it.path == 'src/main/java' }.entryAttributes.customKey = 'customValue'
                           }
                       }
                   }
               }
            """
            file('src/main/java').mkdirs()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/SystemPropertyPropagationCrossVersionTest.groovy

            hasNoSystemProperty('mySystemProperty')
        }
    
        def "Can define new system property"() {
            when:
            runTask { withSystemProperties('customKey' : 'customValue') }
    
            then:
            hasSystemProperty('customKey', 'customValue')
        }
    
        def "Can override existing system properties"() {
            when:
            runTask { withSystemProperties('mySystemProperty' : 'newValue') }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top