Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 1,472 for asSnapshot (1.55 sec)

  1. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/fingerprint/impl/AbstractFingerprintingStrategy.java

            try {
                return normalizedContentHasher.hash(snapshot);
            } catch (IOException e) {
                throw new UncheckedIOException(failedToNormalize(snapshot), e);
            } catch (UncheckedIOException e) {
                throw new UncheckedIOException(failedToNormalize(snapshot), e.getCause());
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/CrossTaskClassChangesIncrementalCompilationIntegrationTest.groovy

            source api: ["class A {}"]
            source impl: ["class B { public A a;}"]
            source app: ["class Unrelated {}", "class C { public B b; }"]
            app.snapshot {
                impl.snapshot {
                    run language.compileTaskName
                }
            }
    
            when:
            file("api/src/main/${language.name}/A.${language.name}").delete()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/ImmutableManagedValueSnapshot.java

        public String getValue() {
            return value;
        }
    
        @Override
        public ValueSnapshot snapshot(@Nullable Object value, ValueSnapshotter snapshotter) {
            ValueSnapshot snapshot = snapshotter.snapshot(value);
            if (equals(snapshot)) {
                return this;
            }
            return snapshot;
        }
    
        @Override
        public boolean equals(Object obj) {
            if (obj == this) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  4. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/impl/DirectorySnapshotter.java

    import org.gradle.internal.snapshot.DirectorySnapshot;
    import org.gradle.internal.snapshot.FileSystemLeafSnapshot;
    import org.gradle.internal.snapshot.FileSystemLocationSnapshot;
    import org.gradle.internal.snapshot.MissingFileSnapshot;
    import org.gradle.internal.snapshot.RegularFileSnapshot;
    import org.gradle.internal.snapshot.RelativePathTracker;
    import org.gradle.internal.snapshot.SnapshottingFilter;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 24.4K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/RepositoryContentFilteringIntegrationTest.groovy

            buildFile << """
                dependencies {
                    conf "org:foo:1.0-SNAPSHOT"
                    conf "org:bar:1.0"
                }
            """
    
            when:
            // looks for the Maven pom file because it's a snapshot
            snapshotModule.metaData.expectGet() // gets the maven-metadata.xml file to get the latest snapshot version
            snapshotModule.pom.expectGet()
            snapshotModule.artifact.expectGet()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 20.5K bytes
    - Viewed (0)
  6. platforms/core-execution/snapshots/src/testFixtures/groovy/org/gradle/internal/snapshot/TestSnapshotFixture.groovy

                DirectorySnapshotBuilder.EmptyDirectoryHandlingStrategy.INCLUDE_EMPTY_DIRS
            )
            children.each { snapshot ->
                if (snapshot instanceof DirectorySnapshot) {
                    builder.visitDirectory(snapshot)
                } else {
                    builder.visitLeafElement(snapshot)
                }
            }
            return builder.leaveDirectory()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  7. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/integtests/IncrementalJavaProjectBuildIntegrationTest.groovy

            executer.withTasks("jar").run();
    
            TestFile jar = file("build/libs/project.jar");
            jar.assertIsFile();
            TestFile.Snapshot snapshot = jar.snapshot();
    
            executer.withTasks("jar").run();
    
            jar.assertHasNotChangedSince(snapshot);
    
            sleep 1000 // Some filesystems (ext3) have one-second granularity for lastModified, so bump the time to ensure we can detect a regenerated file
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 20:01:36 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/DefaultRegularFileSnapshotContext.java

            this.relativePathSegmentSupplier = relativePathSegmentSupplier;
            this.snapshot = snapshot;
        }
    
        @Override
        public Supplier<String[]> getRelativePathSegments() {
            return relativePathSegmentSupplier;
        }
    
        @Override
        public RegularFileSnapshot getSnapshot() {
            return snapshot;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/repositories/resolver/MavenUniqueSnapshotComponentIdentifierTest.groovy

            def same = new MavenUniqueSnapshotComponentIdentifier(moduleIdentifier, "1.0-SNAPSHOT", "timestamp")
            def differentVersion = new MavenUniqueSnapshotComponentIdentifier(moduleIdentifier, "1.1-SNAPSHOT", "timestamp")
            def differentTimestamp = new MavenUniqueSnapshotComponentIdentifier(moduleIdentifier, "1.0-SNAPSHOT", "other")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/artifactreuse/ResolutionOverrideIntegrationTest.groovy

            module.allowAll()
    
            and: "We resolve dependencies"
            run 'retrieve'
    
            then:
            file('libs').assertHasDescendants('unique-1.0-SNAPSHOT.jar')
            def snapshot = file('libs/unique-1.0-SNAPSHOT.jar').snapshot()
    
            when:
            module.publishWithChangedContent()
    
            and: "We resolve again, offline"
            server.resetExpectations()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.9K bytes
    - Viewed (0)
Back to top