Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 361 for asSnapshot (0.16 sec)

  1. platforms/jvm/normalization-java/src/main/java/org/gradle/internal/fingerprint/classpath/impl/ClasspathFingerprintingStrategy.java

    import org.gradle.internal.hash.Hashing;
    import org.gradle.internal.snapshot.FileSystemLocationSnapshot;
    import org.gradle.internal.snapshot.FileSystemLocationSnapshot.FileSystemLocationSnapshotVisitor;
    import org.gradle.internal.snapshot.FileSystemSnapshot;
    import org.gradle.internal.snapshot.MissingFileSnapshot;
    import org.gradle.internal.snapshot.RegularFileSnapshot;
    import org.gradle.internal.snapshot.RelativePathTracker;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/CrossTaskConstantChangesIncrementalJavaCompilationIntegrationTest.groovy

            impl.snapshot { run language.compileTaskName }
    
            when:
            // A is changed so we expect X to recompile
            source api: ["class A { final static int x = 2; }"]
            run "impl:${language.compileTaskName}"
    
            then:
            impl.recompiledClasses('X')
    
            when:
            impl.snapshot()
            // B is changed so we expect Y to recompile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 19.4K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/cache/internal/GradleUserHomeCleanupServiceIntegrationTest.groovy

            def oldNotRecentlyUsedGradleDist = versionedDistDirs(type.version("2.3.4"), daysToTriggerCleanup, "my-dist-2")
            if (type == DistType.SNAPSHOT) {
                // we need this so there is more than one snapshot distribution
                versionedDistDirs(type.alternateVersion("2.3.4"), USED_TODAY, "my-dist-3")
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 10 15:48:56 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenLocalRepoResolveIntegrationTest.groovy

            given:
            def anotherRepo = maven("another-local-repo")
            m2.mavenRepo().module('group', 'projectA', '1.2-SNAPSHOT').publishPom()
            def moduleARemote = anotherRepo.module('group', 'projectA', '1.2-SNAPSHOT').publish()
    
            and:
            buildFile.text = """
                    repositories {
                        mavenLocal()
                        maven { url "${anotherRepo.uri}" }
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 09 01:09:32 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/IsolatingIncrementalAnnotationProcessingIntegrationTest.groovy

        }
    
        def "generated files are recompiled when annotated file changes"() {
            given:
            def a = java "@Helper class A {}"
            java "class Unrelated {}"
    
            outputs.snapshot { run "compileJava" }
    
            when:
            a.text = "@Helper class A { public void foo() {} }"
            run "compileJava"
    
            then:
            outputs.recompiledFiles("A", "AHelper", "AHelperResource.txt")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  6. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/JavaClassChangeIncrementalCompilationIntegrationTest.groovy

            file("src/main/java/foo/Consumer.java") << """
                package foo;
                public class Consumer {
                    void consume() { StringUtils.foo(); }
                }
            """
    
            outputs.snapshot { run language.compileTaskName }
    
            when:
            file("src/main/java/foo/Strings.java").text = """
                package foo;
                public class Strings {
    
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativeLanguageIncrementalCompileIntegrationTest.groovy

            outputs = new CompilationOutputsFixture(objectFileDir)
        }
    
        @ToBeFixedForConfigurationCache
        def "recompiles changed source file only"() {
            given:
            outputs.snapshot { run "mainExecutable" }
    
            when:
            sourceFile << """
    // Changed source file
    """
            and:
            run "mainExecutable"
    
            then:
            executedAndNotSkipped compileTask
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  8. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/AbstractSourceIncrementalCompilationIntegrationTest.groovy

            source "class A {}", "class B {}", "class C {}"
            outputs.snapshot { run language.compileTaskName }
    
            when:
            source "class B extends A {}"
            run language.compileTaskName
    
            then:
            outputs.recompiledClasses('B')
    
            when:
            outputs.snapshot()
            source "class A { /* change */ }"
            run language.compileTaskName
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 16.5K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftIncrementalCompileIntegrationTest.groovy

                apply plugin: 'swift-application'
             """
            outputs.snapshot { succeeds("compileDebugSwift") }
    
            when:
            main.replace("a: 5, b: 7", "a: 21, b: 21")
            and:
            succeeds("assemble")
    
            then:
            outputs.recompiledFile(main)
    
            when:
            outputs.snapshot()
            main.replace("a: 21, b: 21", "a: 5, b: 7")
            succeeds("compileDebugSwift")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  10. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/BaseIncrementalCompilationAfterFailureIntegrationTest.groovy

            runAndFail language.compileTaskName
            outputs.snapshot { source("class A { }") }
            run "clean", language.compileTaskName
    
            then:
            outputs.recompiledClasses("A", "B")
            !compileTransactionDir.exists()
    
            when: "Incremental compilation"
            outputs.snapshot { source("class A {}") }
            run language.compileTaskName
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:30 UTC 2024
    - 22.6K bytes
    - Viewed (0)
Back to top