Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,382 for rebuild (0.12 sec)

  1. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/FixedSharedModeCrossProcessCacheAccess.java

            }
            FileLock fileLock = lockManager.lock(lockTarget, lockOptions, cacheDisplayName);
            try {
                boolean rebuild = initializationAction.requiresInitialization(fileLock);
                if (rebuild) {
                    Exception latestException = null;
                    for (int tries = 0; rebuild && tries < 3; tries++) {
                        fileLock.close();
                        fileLock = null;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. 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)
  3. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/NamedDomainObjectProviderExtensions.kt

    package org.gradle.kotlin.dsl
    
    import org.gradle.api.NamedDomainObjectProvider
    
    
    /**
     * Allows a [NamedDomainObjectProvider] to be configured via invocation syntax.
     *
     * ```kotlin
     * val rebuild by tasks.registering
     * rebuild { // rebuild.configure {
     *   dependsOn("clean")
     * }
     * ```
     */
    operator fun <T> NamedDomainObjectProvider<T>.invoke(action: T.() -> Unit) =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 1009 bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/processing/IsolatingFilerTest.groovy

            new IsolatingProcessingStrategy(result)
        }
    
        def "does a full rebuild when no originating elements are given for a type"() {
            when:
            filer.createSourceFile("Foo")
    
            then:
            result.fullRebuildCause == "the generated type 'Foo' must have exactly one originating element, but had 0"
        }
    
        def "does a full rebuild when no originating elements are given for a resource"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 5K bytes
    - Viewed (0)
  5. src/run.bat

    L21:set GOENV=off
    L22:..\bin\go tool dist env > env.bat
    L23:if errorlevel 1 goto fail
    L24:call .\env.bat
    L25:del env.bat
    L26:
    L27:set GOPATH=c:\nonexist-gopath
    L28:
    L29:if x%1==x--no-rebuild goto norebuild
    L30:..\bin\go tool dist test --rebuild
    L31:if errorlevel 1 goto fail
    L32:goto end
    L33:
    L34::norebuild
    L35:..\bin\go tool dist test
    L36:if errorlevel 1 goto fail
    L37:goto end
    L38:
    L39::fail
    L40:set GOBUILDFAIL=1
    L41:
    L42::end
    ...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 17 20:19:28 UTC 2022
    - 859 bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/cgo_stale_precompiled.txt

    # package to appear stale, and it could not be rebuilt due to a missing $CC.
    
    [!cgo] skip
    
    # This test may start with the runtime/cgo package already stale.
    # Explicitly rebuild it to ensure that it is cached.
    # (See https://go.dev/issue/50892.)
    #
    # If running in non-short mode, explicitly vary CGO_CFLAGS
    # as a control case (to ensure that our regexps do catch rebuilds).
    
    [!short] env GOCACHE=$WORK/cache
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/FixedExclusiveModeCrossProcessCacheAccess.java

            }
            final FileLock fileLock = lockManager.lock(lockTarget, lockOptions, cacheDisplayName, "", unused -> {});
            try {
                boolean rebuild = initializationAction.requiresInitialization(fileLock);
                if (rebuild) {
                    fileLock.writeFile(() -> initializationAction.initialize(fileLock));
                }
                onOpenAction.accept(fileLock);
            } catch (Exception e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 01 12:21:15 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeContinuousBuildIntegrationTest.groovy

    class CompositeContinuousBuildIntegrationTest extends AbstractContinuousIntegrationTest {
        def setup() {
            buildTestFixture.withBuildInSubDir()
        }
    
        def "will rebuild on input change for included build task dependency"() {
            def outputFile = file("included/build/output.txt")
            def inputFile = file("included/inputs/input.txt")
            inputFile.text = "first"
            singleProjectBuild("included") {
                buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 06 08:15:28 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  9. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/ResolveChangesStepTest.groovy

                def changes = delegateContext.changes.get()
                assert delegateContext.rebuildReasons == ImmutableList.of("Forced rebuild.")
                assert !changes.createInputChanges().incremental
                return delegateResult
            }
            _ * context.nonIncrementalReason >> Optional.of("Forced rebuild.")
            _ * context.beforeExecutionState >> Optional.of(beforeExecutionState)
            0 * _
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:34 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/build_pgo.txt

    # Test go build -pgo flag.
    # Specifically, the build cache handles profile content correctly.
    
    [short] skip 'compiles and links executables'
    
    # Set up fresh GOCACHE.
    env GOCACHE=$WORK/gocache
    mkdir $GOCACHE
    
    # build without PGO
    go build triv.go
    
    # build with PGO, should trigger rebuild
    # starting with an empty profile (the compiler accepts it)
    go build -x -pgo=prof -o triv.exe triv.go
    stderr 'preprofile.*-i.*prof'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:39:17 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top