Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for EnvironmentVariablesPrefixedBy (0.43 sec)

  1. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprint.kt

                private
                enum class Ignored {
                    INSTANCE
                }
            }
        }
    
        data class EnvironmentVariablesPrefixedBy(
            val prefix: String,
            val snapshot: Map<String, String?>
        ) : ConfigurationCacheFingerprint()
    }
    
    
    internal
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintWriter.kt

        private
        val systemPropertiesPrefixedBy = newConcurrentHashSet<String>()
    
        private
        val undeclaredEnvironmentVariables = newConcurrentHashSet<String>()
    
        private
        val environmentVariablesPrefixedBy = newConcurrentHashSet<String>()
    
        private
        val reportedFiles = newConcurrentHashSet<File>()
    
        private
        val reportedDirectories = newConcurrentHashSet<File>()
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/api/provider/ProviderFactory.java

         *
         * @param variableNamePrefix The prefix of the environment variable names
         * @return The provider. Never returns null.
         * @since 7.5
         */
        @Incubating
        Provider<Map<String, String>> environmentVariablesPrefixedBy(String variableNamePrefix);
    
        /**
         * Creates a {@link Provider} whose value is a name-to-value map of the environment variables with the names starting with the given prefix.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 09:14:21 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintChecker.kt

                        return "the set of paths ignored in file-system-check input tracking has changed"
                    }
                }
                is ConfigurationCacheFingerprint.EnvironmentVariablesPrefixedBy -> input.run {
                    val current = System.getenv().filterKeysByPrefix(prefix)
                    if (current != snapshot) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredBuildInputsIntegrationTest.groovy

        }
    
        def "build logic can read environment variables with prefix"() {
            def configurationCache = newConfigurationCacheFixture()
            buildFile("""
                def ciVars = providers.environmentVariablesPrefixedBy("CI")
                ciVars.get().forEach((k, v) -> {
                    println("Configuration: \$k = \$v")
                })
    
                tasks.register("print") {
                    doLast {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 36K bytes
    - Viewed (0)
Back to top