Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for asSnapshot (0.15 sec)

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

            TrackingProperties(System.getProperties().uncheckedCast()) { prefix, snapshot ->
                listener.systemPropertiesPrefixedBy(prefix, snapshot)
            }
    
        override fun getVariables(): Environment.Properties =
            TrackingProperties(System.getenv()) { prefix, snapshot ->
                listener.envVariablesPrefixedBy(prefix, snapshot)
            }
    
        private
        class TrackingProperties(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

        /**
         * Checks whether a given artifact version is considered a {@code SNAPSHOT} or not.
         * <p>
         * Shortcut for {@code getService(ArtifactManager.class).isSnapshot(...)}.
         * <p>
         * In case there is {@link Artifact} in scope, the recommended way to perform this check is
         * use of {@link Artifact#isSnapshot()} instead.
         *
         * @param version artifact version
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/internal/classpath/DefaultCachedClasspathTransformer.java

            InstrumentationTypeRegistry typeRegistry
        ) {
            FileSystemLocationSnapshot snapshot = snapshotOf(original);
            if (snapshot.getType() == FileType.Missing) {
                return empty();
            }
            if (shouldUseFromCache(original)) {
                final HashCode contentHash = snapshot.getHash();
                if (!seen.add(contentHash)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. maven-embedder/src/test/java/org/apache/maven/cli/event/ExecutionEventLoggerTest.java

            when(project.getPackaging()).thenReturn("jar");
            when(project.getName()).thenReturn("Apache Maven Embedder");
            when(project.getVersion()).thenReturn("3.5.4-SNAPSHOT");
            when(project.getFile()).thenReturn(new File(basedir, "maven-embedder/pom.xml"));
            when(event.getProject()).thenReturn(project);
    
            MavenProject rootProject = mock(MavenProject.class);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 09:06:12 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/models/DefaultToolingModelParameterCarrierFactory.kt

     * limitations under the License.
     */
    
    package org.gradle.internal.cc.impl.models
    
    import org.gradle.internal.hash.HashCode
    import org.gradle.internal.hash.Hashing
    import org.gradle.internal.snapshot.ValueSnapshotter
    import org.gradle.tooling.internal.adapter.ProtocolToModelAdapter
    import org.gradle.tooling.internal.consumer.connection.ToolingParameterProxy
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheDependencyResolutionFeaturesIntegrationTest.groovy

            String getSnapshotVersion() {
                return "2.0-SNAPSHOT"
            }
    
            @Override
            String getNewSnapshotVersion() {
                return snapshotVersion
            }
    
            @Override
            String getNewSnapshotInvalidatedResource() {
                return "file 'maven_home/.m2/repository/thing/lib1/2.0-SNAPSHOT/lib1-2.0-SNAPSHOT.pom'".replace('/', File.separator)
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 33K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintWriter.kt

        override fun systemPropertiesPrefixedBy(prefix: String, snapshot: Map<String, String?>) {
            if (isInputTrackingDisabled()) {
                return
            }
            addSystemPropertiesPrefixedByToFingerprint(prefix, snapshot)
        }
    
        private
        fun addSystemPropertiesPrefixedByToFingerprint(prefix: String, snapshot: Map<String, String?>) {
            val filteredSnapshot = snapshot.mapValues { e ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprint.kt

            override val reason: String
                get() = "cached artifact information for $displayName has expired"
        }
    
        data class SystemPropertiesPrefixedBy(
            val prefix: String,
            val snapshot: Map<String, Any?>
        ) : ConfigurationCacheFingerprint() {
            companion object {
                /**
                 * The placeholder for system properties modified by the build logic at the time of
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/internal/classpath/DefaultCachedClasspathTransformerTest.groovy

    import org.gradle.internal.hash.Hasher
    import org.gradle.internal.instrumentation.agent.AgentStatus
    import org.gradle.internal.serialize.ClassLoaderObjectInputStream
    import org.gradle.internal.snapshot.FileSystemLocationSnapshot
    import org.gradle.internal.snapshot.FileSystemSnapshot
    import org.gradle.test.fixtures.archive.ZipTestFixture
    import org.gradle.test.fixtures.concurrent.ConcurrentSpec
    import org.gradle.test.fixtures.file.TestFile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintChecker.kt

                        // values doesn't matter.
                        snapshot[it] != ConfigurationCacheFingerprint.SystemPropertiesPrefixedBy.IGNORED
                    }
                    val snapshotWithoutIgnored = snapshot.filterValues {
                        // remove placeholders of modified properties to only compare relevant values.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 17.3K bytes
    - Viewed (0)
Back to top