Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 97 for BuildCache (0.25 sec)

  1. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/buildcache/TaskOutputCachingNativePerformanceTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.performance.regression.buildcache
    
    import org.gradle.performance.annotations.RunFor
    import org.gradle.performance.annotations.Scenario
    
    import static org.gradle.performance.annotations.ScenarioType.PER_DAY
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/testKit/testKitFunctionalTestSpockBuildCache/groovy/src/test/groovy/org/gradle/sample/BuildLogicFunctionalTest.groovy

        File localBuildCacheDirectory
    
        def setup() {
            localBuildCacheDirectory = new File(testProjectDir, 'local-cache')
            buildFile = new File(testProjectDir,'settings.gradle') << """
                buildCache {
                    local {
                        directory '${localBuildCacheDirectory.toURI()}'
                    }
                }
            """
            buildFile = new File(testProjectDir,'build.gradle')
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/optimizing-performance/build-cache/caching_android_projects.adoc

    https://blog.jetbrains.com/kotlin/2018/01/kotlin-1-2-20-is-out/[You can opt into it] (which is recommended) by adding the following to build scripts:
    
    ====
    include::sample[dir="snippets/buildCache/caching-android-projects/kotlin",files="build.gradle.kts[tags=cacheKapt]"]
    include::sample[dir="snippets/buildCache/caching-android-projects/groovy",files="build.gradle[tags=cacheKapt]"]
    ====
    
    == Unit test execution
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 12:54:11 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. platforms/core-execution/build-cache-example-client/build.gradle.kts

     */
    
    plugins {
        id("gradlebuild.internal.java")
        id("application")
    }
    
    description = "Example client application using the build-cache library"
    
    dependencies {
        implementation(projects.buildCache)
        implementation(projects.buildCacheBase)
        implementation(projects.buildCacheLocal)
        implementation(projects.buildCachePackaging)
        implementation(projects.buildCacheSpi)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r35/CacheableTaskProgressEventsCrossVersionSpec.groovy

                        outputFile.text = "done"
                    }
                }
            """
            def cacheDir = file("task-output-cache")
            settingsFile << """
                buildCache {
                    local {
                        directory = "${TextUtil.escapeString(cacheDir.absolutePath)}"
                    }
                }
            """
            file("input").text = "input file"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/process/internal/CancellationIntegrationTest.groovy

            'project.exec'   | 'projectExecTask'
            'JavaExec'       | 'javaExec'
            'blocking tasks' | 'blockingCustomTask'
        }
    
        def "task gets rerun after cancellation when buildcache = #buildCacheEnabled and ignoreExitValue = #ignoreExitValue"() {
            given:
            file('outputFile') << ''
            blockCode()
            buildFile << """
                apply plugin: 'java'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 04:31:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. platforms/core-execution/build-cache-http/src/integTest/groovy/org/gradle/caching/http/internal/HttpBuildCacheFixture.groovy

        String withHttpBuildCacheServer() {
            httpBuildCacheServer.start()
            return useHttpBuildCache(httpBuildCacheServer.uri)
        }
    
        static String useHttpBuildCache(URI uri) {
            """
                buildCache {
                    local {
                        enabled = false
                    }
                    remote(HttpBuildCache) {
                        url = "${uri}"
                        push = true
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedLineEndingSensitivityIntegrationSpec.groovy

        def setup() {
            buildFile << """
                plugins { id 'base' }
            """
            settingsFile << """
                buildCache {
                    local {
                        directory = file('${buildCachePath}')
                    }
                }
            """
        }
    
        @Override
        void execute(String... tasks) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Sep 07 08:48:40 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedTaskExecutionIntegrationTest.groovy

            then:
            skipped ":compileJava"
            executedAndNotSkipped ":jar"
        }
    
        def "task results don't get stored when pushing is disabled"() {
            settingsFile << """
                buildCache {
                    local {
                        push = false
                    }
                }
            """
    
            when:
            withBuildCache().run "jar"
            then:
            noneSkipped()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  10. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/buildcache/TaskOutputCachingSwiftPerformanceTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.performance.regression.buildcache
    
    import org.gradle.performance.annotations.RunFor
    import org.gradle.performance.annotations.Scenario
    
    import static org.gradle.performance.annotations.ScenarioType.PER_DAY
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top