Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 171 for rebuild (0.15 sec)

  1. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftIncrementalCompileIntegrationTest.groovy

                }
             """
    
            outputs.snapshot { succeeds("compileDebugSwift") }
    
            expect:
            // rebuild for Swift4
            succeeds("compileDebugSwift", "-Pswift4")
            outputs.recompiledClasses('main', 'sum', 'greeter', 'multiply')
    
            and:
            // rebuild for Swift3
            succeeds("compileDebugSwift")
            outputs.recompiledClasses('main', 'sum', 'greeter', 'multiply')
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/JavaClassChangeIncrementalCompilationIntegrationTest.groovy

            """
    
            then:
            succeeds language.compileTaskName
            outputs.recompiledClasses('Person', 'Consumer')
        }
    
        def "changing an unused non-private constant incurs partial rebuild"() {
            source "class A { int foo() { return 2; } }", "class B { final static int x = 1;}"
            outputs.snapshot { run language.compileTaskName }
    
            when:
            source "class B { /* change */ }"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheScriptTaskDefinitionIntegrationTest.groovy

        def "task can have actions defined using Groovy script closures"() {
            given:
            settingsFile << """
                include 'a', 'b'
            """
            [file("a/build.gradle"), file("b/build.gradle")].each {
                it << """
                    tasks.register("some") {
                        doFirst {
                            println("FIRST")
                        }
                        doLast {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalInputsIntegrationTest.groovy

            run("copy")
            // force rebuild
            outputDir.file("modified.txt").text = "changed"
            inputDir.forceDeleteDir()
            run("copy")
            then:
            executedAndNotSkipped(":copy")
            outputDir.assertIsEmptyDir()
        }
    
        def "outputs are cleaned out on rebuild (output type: #type)"() {
            file("buildSrc").deleteDir()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 23 12:52:29 UTC 2022
    - 27.8K bytes
    - Viewed (0)
  5. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/GroovyJavaJointIncrementalCompilationIntegrationTest.groovy

            'Add Java files to Java file set'           | ['G']        | ['J', 'G']           | ['a full rebuild', "UP-TO-DATE"]                             | ['J', 'G']           | ['UP-TO-DATE', 'UP-TO-DATE']
            'Add Groovy files to Groovy file set'       | ['J']        | ['J', 'G']           | ["UP-TO-DATE", "a full rebuild"]                             | ['J.changed', 'G']   | ['Incremental compilation of', 'UP-TO-DATE']
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  6. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/CrossTaskConstantChangesIncrementalJavaCompilationIntegrationTest.groovy

        CompiledLanguage language = CompiledLanguage.JAVA
    
        def "change in an upstream class with non-private constant causes rebuild if constant is used (#constantType)"() {
            source api: ["class A {}", "class B { final static $constantType x = $constantValue; }"], impl: ["class X { $constantType foo() { return B.x; }}", "class Y {int foo() { return -2; }}"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 19.4K bytes
    - Viewed (0)
  7. pkg/registry/core/service/portallocator/controller/repair.go

    	if err != nil {
    		return fmt.Errorf("unable to refresh the port block: %v", err)
    	}
    
    	rebuilt, err := portallocator.NewInMemory(c.portRange)
    	if err != nil {
    		return fmt.Errorf("unable to create port allocator: %v", err)
    	}
    	// Check every Service's ports, and rebuild the state as we think it should be.
    	for i := range list.Items {
    		svc := &list.Items[i]
    		ports := collectServiceNodePorts(svc)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Sep 30 15:46:06 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  8. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/CrossTaskClassChangesIncrementalCompilationIntegrationTest.groovy

            run "impl:${language.compileTaskName}"
    
            then:
            impl.noneRecompiled()
        }
    
        def "addition of unused class in upstream project does not rebuild"() {
            source api: ["class A {}", "class B { private final static int x = 1; }"], impl: ["class ImplA extends A {}", "class ImplB extends B {}"]
            impl.snapshot { run language.compileTaskName }
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  9. pkg/registry/core/service/ipallocator/controller/repair.go

    	}
    
    	// save logic
    	// Blast the rebuilt state into storage.
    	for family, rebuilt := range rebuiltByFamily {
    		err = c.saveSnapShot(rebuilt, c.allocatorByFamily[family], snapshotByFamily[family])
    		if err != nil {
    			return err
    		}
    	}
    
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Sep 30 15:46:06 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  10. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/btree/BTreePersistentIndexedCache.java

            }
        }
    
        public boolean isOpen() {
            return store.isOpen();
        }
    
        private void rebuild() {
            LOGGER.warn("{} is corrupt. Discarding.", this);
            try {
                clear();
            } catch (Exception e) {
                LOGGER.warn("{} couldn't be rebuilt. Closing.", this);
                close();
            }
        }
    
        public void verify() {
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 26.5K bytes
    - Viewed (0)
Back to top