Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 114 for PROPERTIES (0.38 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/SystemPropertyInstrumentationInJavaIntegrationTest.groovy

                import ${Plugin.name};
                import ${Project.name};
                import ${Properties.name};
    
                public class SomePlugin implements Plugin<Project> {
                    public void apply(Project project) {
                        Properties newProps = new Properties();
                        System.getProperties().forEach(newProps::put);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/SystemPropertyInstrumentationInStaticGroovyIntegrationTest.groovy

                @CompileStatic
                class SomePlugin implements Plugin<Project> {
                    void apply(Project project) {
                        def newProps = new Properties()
                        System.properties.forEach { k, v -> newProps[k] = v }
                        newProps.replace("some.property", "new.value")
                        ${setProperties}(newProps)
                    }
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheValueSourceIntegrationTest.groovy

            file("local.properties") << "\nunrelated.properties=foo"
            configurationCacheRun "run"
    
            then:
            output.count("ON CI") == 1
            configurationCache.assertStateLoaded()
    
            when: "running after changing the property value"
            file("local.properties").text = "ci=false"
            configurationCacheRun "run"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/SystemPropertyInstrumentationInDynamicGroovyIntegrationTest.groovy

                import static ${System.name}.setProperties
    
                class SomePlugin implements Plugin<Project> {
                    void apply(Project project) {
                        def newProps = new Properties()
                        System.properties.forEach { k, v -> newProps[k] = v }
                        newProps.replace("some.property", "new.value")
                        ${setProperties}(newProps)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/SystemPropertyInjection.groovy

            return new SystemPropertyInjection() {
                @Override
                String getDescription() {
                    return "using gradle.properties"
                }
    
                @Override
                void setup(AbstractConfigurationCacheIntegrationTest test) {
                    test.file("gradle.properties").text = "systemProp.${prop}=${value}"
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         * <ul>
         *     <li>System properties (lowest precedence)</li>
         *     <li>Project properties (optional)</li>
         *     <li>User properties (highest precedence)</li>
         * </ul>
         * Note: Project properties contains properties injected from profiles, if applicable. Their precedence is
         * {@code profile > project}, hence active profile property may override project property.
         * <p>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/GradlePropertiesIncludedBuildFixture.groovy

                """
            }
        }
    
        static class BuildSrc extends BuildWithGradleProperties {
    
            @Override
            void setup(AbstractIntegrationSpec spec) {
                spec.file("buildSrc/gradle.properties") << "bar=101"
                spec.file("buildSrc/build.gradle") << echoTaskForProperty("bar")
            }
    
            @Override
            String task() {
                return ":buildSrc:echo"
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/InProcessGradleExecuter.java

                return true;
            }
            File daemonJvmProperties = new File(getWorkingDir(), "gradle/gradle-daemon-jvm.properties");
            if (daemonJvmProperties.isFile()) {
                Properties properties = GUtil.loadProperties(daemonJvmProperties);
                String requestedVersion = properties.getProperty("toolchainVersion");
                if (requestedVersion != null) {
                    try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheCleanupIntegrationTest.groovy

            cacheDir.listFiles().length == 3 // gc file + cache properties + 'help' state
        }
    
        private TestFile createCacheEntryDir(String entry) {
            TestFile dir = cacheDir.createDir(entry)
            dir.createFile("state.bin")
            dir.createFile("fingerprint.bin")
            return dir
        }
    
        private TestFile getGcFile() {
            return cacheDir.file("gc.properties")
        }
    
        private TestFile getCacheDir() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredBuildInputsIgnoringIntegrationTest.groovy

            outputContains("exists = false")
            problems.assertResultHasProblems(result) {
                withInput("Build file 'build.gradle': file system entry")
            }
    
            when:
            file("gradle.properties") << """$IGNORE_FS_CHECKS_PROPERTY=build/*.lock"""
            configurationCacheRun()
    
            then:
            outputContains("exists = false")
            problems.assertResultHasProblems(result) {
                withNoInputs()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top