Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Presence (0.73 sec)

  1. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/resolver/ProjectRootOfTest.kt

            withFolders {
                "root" {
                    "nested-project-root" {
                        // a nested project is detected by the presence of a settings file
                        withFile(settingsFileName)
                        "sub-project" {
                            withFile("build.gradle.kts")
                        }
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/CredentialsProviderFactoryTest.groovy

            e.message.contains("- myServiceUsername")
            e.message.contains("- myServicePassword")
        }
    
        def "does not throw on presence check when credentials are missing"() {
            given:
            providerFactory.gradleProperty('myServiceUsername') >> Providers.notDefined()
            providerFactory.gradleProperty('myServicePassword') >> Providers.notDefined()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  3. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

    /**
     * Creates a [Provider] that returns `true` when this [Provider] has a value
     * and `false` otherwise. The returned [Provider] always has a value.
     * @see Provider.isPresent
     */
    private
    fun <T> Provider<T>.presence(): Provider<Boolean> =
        map { true }.orElse(false)
    
    
    fun Project.gradleProperty(propertyName: String) = providers.gradleProperty(propertyName)
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 06:42:07 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildOptionsIntegrationTest.groovy

            "asText.isPresent"                                        | "text presence"
            "asBytes.map { String(it).toBoolean() }.getOrElse(false)" | "bytes"
            "asBytes.isPresent"                                       | "bytes presence"
        }
    
        def "mapped file contents used as task input"() {
    
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 28K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/MappingProvider.java

     * For user provided mappings and other internal mappings, {@link TransformBackedProvider} is used instead.</p>
     *
     * <p>The constraints allows certain optimizations. Currently, this is limited to skipping the transform when the provider presence is queried, but other optimizations may be added in the future.
     * Also, because the transform does not use the value content, this provider also skips checks to verify that the content has been built when the value is queried.</p>
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 17 23:22:41 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-tooling-builders/src/crossVersionTest/groovy/org/gradle/declarative/dsl/tooling/builders/r89/DeclarativeDslToolingModelsCrossVersionTest.groovy

        def setup(){
            settingsFile.delete() //we are using a declarative settings file
        }
    
        def 'can obtain model containing project schema, even in the presence of errors in project scripts'() {
            given:
            file("settings.gradle.dcl") << """
                rootProject.name = "test"
                include(":a")
                include(":b")
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 11:32:11 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  7. .idea/inspectionProfiles/Gradle.xml

            <constraint name="transform" within="" contains="" />
          </replaceConfiguration>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 09:21:43 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top