Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newValue2 (0.09 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/SystemPropertyPropagationCrossVersionTest.groovy

        }
    
        def "Can override existing system properties"() {
            when:
            runTask { withSystemProperties('mySystemProperty' : 'newValue') }
    
            then:
            hasSystemProperty('mySystemProperty', 'newValue')
        }
    
        def "JVM arguments have precedence over system properties"() {
            when:
            runTask {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/GroovyCodecs.kt

                    }
                    throw MissingPropertyException(propertyName)
                }
                scriptReferenced()
            }
    
            override fun setProperty(propertyName: String, newValue: Any?) {
                // See above for why this check happens
                if (targetMetadata.hasProperty(null, propertyName) == null) {
                    throw MissingPropertyException(propertyName)
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top