Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 39 for snapshotting (0.58 sec)

  1. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/UnitOfWork.java

        }
    
        /**
         * This is a temporary measure for Gradle tasks to track a legacy measurement of all input snapshotting together.
         */
        default void markLegacySnapshottingInputsStarted() {}
    
        /**
         * This is a temporary measure for Gradle tasks to track a legacy measurement of all input snapshotting together.
         */
        default void markLegacySnapshottingInputsFinished(CachingState cachingState) {}
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:28 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/impl/DefaultInputFingerprinterTest.groovy

            0 * _
    
            then:
            result.valueSnapshots as Map == ["identity": inputSnapshot]
            result.fileFingerprints as Map == [:]
        }
    
        def "reports value snapshotting problem"() {
            def failure = new RuntimeException("Error")
            def input = "failing-value"
    
            when:
            fingerprintInputProperties { visitor ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 9K bytes
    - Viewed (0)
  3. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/AbstractJavaCompileAvoidanceIntegrationSpec.groovy

            file("b/src/main/${language.name}/Bar.${language.name}") << 'class Bar { public void useFoo(Foo foo) { } }'
    
            when:
            // Run with --debug to ensure that class snapshotting didn't fail.
            succeeds ":b:${language.compileTaskName}", "--debug"
    
            then:
            executedAndNotSkipped(":b:${language.compileTaskName}")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  4. subprojects/core-api/src/main/java/org/gradle/work/NormalizeLineEndings.java

    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * Attached to an input property to specify that line endings should be normalized
     * when snapshotting inputs. Two files with the same contents but different line endings
     * will be considered equivalent.
     *
     * Line ending normalization is only supported with ASCII encoding and its supersets (i.e.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 13 17:35:59 UTC 2022
    - 2K bytes
    - Viewed (0)
  5. subprojects/core-api/src/main/java/org/gradle/api/tasks/IgnoreEmptyDirectories.java

    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * Attached to an input property to specify that directories should be ignored
     * when snapshotting inputs. Files within directories and subdirectories will be
     * snapshot, but the directories themselves will be ignored. Empty directories,
     * and directories that contain only empty directories will have no effect on the
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 19 12:43:32 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheFileSystemDefaultExcludesTest.groovy

            result.assertTasksSkipped(":$spec.copyTask")
    
            where:
            spec << DefaultExcludesFixture.specs()
        }
    
        def "default excludes defined in build#scriptLanguage are ignoring for snapshotting"() {
            given:
            def configurationCache = newConfigurationCacheFixture()
            def spec = new DefaultExcludesFixture.Spec(
                Collections.singletonList(new DefaultExcludesFixture.RootBuildLocation()),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/impl/DefaultOutputSnapshotterTest.groovy

                snapshot >> outputSnapshot
            }
            0 * _
    
            then:
            result as Map == ["output": outputSnapshot]
        }
    
        def "reports snapshotting problem"() {
            def failure = new UncheckedIOException(new IOException("Error"))
    
            when:
            outputSnapshotter.snapshotOutputs(work, workspace)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  8. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileIntegrationTest.groovy

            'resources directory' | 'RESOURCES' | 'resources/main'    | 'processResources' | 'compileJava'
        }
    
        @Issue("gradle/gradle#1347")
        def "compile classpath snapshotting ignores non-relevant elements"() {
            def buildFileWithDependencies = { String... dependencies ->
                buildFile.text = """
                    apply plugin: 'java'
    
                    ${mavenCentralRepository()}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:39 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/MissingTaskDependenciesIntegrationTest.groovy

                    outputFile = file("classes.jar")
                }
            """
    
            // This is to make sure that:
            //   - The snapshotting of the zip task finishes after the outputs have been broadcast by the compile task
            //   - The snapshotting of the zip task finishes before the snapshotting of the outputs of the compile task
            server.expectConcurrent("zipFileSnapshottingStarted", "compileAction1")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 08:14:44 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  10. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/ConfigurableFileTreeIntegrationTest.groovy

            run("generate")
    
            then:
            result.assertTaskNotSkipped(":generate")
            output.count("checking") == 22 // checked twice, once to snapshot and once when the task action runs. Should be memoized when snapshotting
            outputContains("checking a/a.txt")
            outputContains("checking d/d.txt")
            file("out.txt").text == "a.txt,c.txt,d.txt"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 9.7K bytes
    - Viewed (0)
Back to top