Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for EnvironmentVariablesPrefixedBy (0.33 sec)

  1. platforms/documentation/docs/src/snippets/valueProviders/envVarsSysPropsDoPrefix/groovy/build.gradle

    def jdkLocationsProvider = providers.environmentVariablesPrefixedBy("JDK_")...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 76 bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/valueProviders/envVarsSysPropsDoPrefix/kotlin/build.gradle.kts

    val jdkLocationsProvider = providers.environmentVariablesPrefixedBy("JDK_")...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 76 bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/DefaultProviderFactory.java

            );
        }
    
        @Override
        public Provider<Map<String, String>> environmentVariablesPrefixedBy(String variableNamePrefix) {
            return environmentVariablesPrefixedBy(Providers.of(variableNamePrefix));
        }
    
        @Override
        public Provider<Map<String, String>> environmentVariablesPrefixedBy(Provider<String> variableNamePrefix) {
            return of(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/dsl/org.gradle.api.provider.ProviderFactory.xml

                <tr>
                    <td>credentials</td>
                </tr>
                <tr>
                    <td>environmentVariable</td>
                </tr>
                <tr>
                    <td>environmentVariablesPrefixedBy</td>
                </tr>
                <tr>
                    <td>exec</td>
                </tr>
                <tr>
                    <td>fileContents</td>
                </tr>
                <tr>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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