Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 45 for PROPERTIES (1.9 sec)

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

                // Mutated values of the system properties are not part of the fingerprint, as their value is
                // set at the configuration time. Everything that reads a mutated property value should be saved
                // as a fixed value.
                return
            }
            val propertyValue =
                if (isSystemPropertyLoaded(key)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/SystemPropertiesCompositeBuildFixture.groovy

        }
    
        static class RootBuild implements BuildWithSystemPropertyDefined {
    
            @Override
            void setup(AbstractIntegrationSpec spec, String propertyKey) {
                spec.testDirectory.file("gradle.properties") << "systemProp.$propertyKey=${propertyValue()}"
            }
    
            @Override
            String propertyValue() {
                return "root build property"
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java

        }
    
        @Test
        void testSystemScopeDependencyIsPresentInTheCompileClasspathElements() throws Exception {
            File pom = getProject("it0063");
    
            Properties eps = new Properties();
            eps.setProperty("jre.home", new File(pom.getParentFile(), "jdk/jre").getPath());
    
            MavenSession session = createMavenSession(pom, eps);
            MavenProject project = session.getCurrentProject();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 09:06:12 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintChecker.kt

                        // remove placeholders of modified properties to only compare relevant values.
                        it != ConfigurationCacheFingerprint.SystemPropertiesPrefixedBy.IGNORED
                    }
                    if (currentWithoutIgnored != snapshotWithoutIgnored) {
                        return "the set of system properties prefixed by '$prefix' has changed"
                    }
                }
            }
    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/ConfigurationCacheIntegrationTest.groovy

                .replaceAll(/Configuration cache entry reused.\n/, '')
    
            then:
            firstRunOutput == secondRunOutput
    
            where:
            task           | options
            "help"         | []
            "properties"   | []
            "dependencies" | []
            "help"         | ["--task", "help"]
            "help"         | ["--rerun"]
        }
    
        def "can store task selection success/failure for :help --task"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. testing/architecture-test/src/test/java/org/gradle/architecture/test/ArchUnitFixture.java

    import static com.tngtech.archunit.core.domain.properties.HasModifiers.Predicates.modifier;
    import static com.tngtech.archunit.core.domain.properties.HasName.Functions.GET_NAME;
    import static com.tngtech.archunit.core.domain.properties.HasName.Predicates.nameMatching;
    import static com.tngtech.archunit.core.domain.properties.HasType.Functions.GET_RAW_TYPE;
    import static java.util.stream.Collectors.toSet;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/AbstractUndeclaredBuildInputsIntegrationTest.groovy

            outputDoesNotContain("apply =")
            outputContains("task = $value")
    
            when:
            configurationCacheRun("thing", "-DCI=$newValue")
    
            then: 'undeclared properties are considered build inputs'
            configurationCache.assertStateStored()
            problems.assertResultHasProblems(result)
            outputContains("apply = $newValue")
            outputContains("task = $newValue")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/DefaultConfigurationCache.kt

                if (result !== CheckedFingerprint.Valid) {
                    // Force Gradle properties to be reloaded so the Gradle properties files
                    // along with any Gradle property defining system properties and environment variables
                    // are added to the new fingerprint.
                    unloadGradleProperties()
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationSpec.groovy

        /**
         * Creates a JAR that is unique to the test. The uniqueness is achieved via a properties file with a value containing the path to the test itself.
         */
        def createJarWithProperties(String path, Map<String, ?> properties = [source: 1]) {
            def props = new Properties()
            def sw = new StringWriter()
            props.putAll(properties.collectEntries { k, v -> [k, String.valueOf(v)] })
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:07:53 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTaskSerializationIntegrationTest.groovy

            outputContains("propValue.child = ${file("dir2/child")}")
            outputContains("propValue.child.mapped = ${file("dir2/child")}")
        }
    
        def "restores task abstract properties"() {
            buildFile << """
                interface Bean {
                    @Internal
                    Property<String> getValue()
    
                    @Internal
                    Property<String> getUnused()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top