Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for myproperty2 (0.43 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/PomReaderProfileTest.groovy

            activePomProfiles[1].id == 'profile-3'
            !pomReader.properties.containsKey('prop1')
            !pomReader.properties.containsKey('prop4')
            pomReader.properties['prop2'] == 'myproperty2'
            pomReader.properties['prop3'] == 'myproperty3'
            !pomReader.dependencyMgt.containsKey(new MavenDependencyKey('group-two', 'artifact-one', 'jar', null))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 79.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/CollectionPropertySpec.groovy

            def property2 = property()
            property2.fromState(execTimeValue)
    
            then:
            assertValueIs(['2', '3a', '4'], property2)
    
            when:
            property2.add("5")
            property2.append("6")
            property2.append(notDefined())
            def execTimeValue2 = property2.calculateExecutionTimeValue()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/MapPropertySpec.groovy

            def property2 = property()
            property2.fromState(execTimeValue)
    
            then:
            assertValueIs([b: '2', c: '3a', d: '4'], property2)
    
            when:
            property2.put("f", "6")
            property2.insert("g", "7")
            property2.insert("h", notDefined())
            def execTimeValue2 = property2.calculateExecutionTimeValue()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 58.7K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/api/kotlin_dsl.adoc

    .build.gradle.kts
    [source,kotlin]
    ----
    val myProperty: String by project  // <1>
    val myNullableProperty: String? by project // <2>
    ----
    <1> Makes the `myProperty` project property available via a `myProperty` delegated property — the project property must exist in this case, otherwise the build will fail when the build script attempts to use the `myProperty` value
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 20:16:10 UTC 2024
    - 55.4K bytes
    - Viewed (0)
Back to top