Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 30 for isConfigCache (0.29 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/test/preconditions/IntegTestPreconditions.groovy

            }
        }
    
        static final class IsConfigCached implements TestPrecondition {
            @Override
            boolean isSatisfied() throws Exception {
                return GradleContextualExecuter.isConfigCache()
            }
        }
    
        static final class NotConfigCached implements TestPrecondition {
            @Override
            boolean isSatisfied() throws Exception {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 16:09:18 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/GradleBuildTaskIntegrationTest.groovy

            file('subprojects/build.gradle') << """
                assert gradle.parent.rootProject.name == 'root'
                task log { }
            """
    
            def runs = GradleContextualExecuter.isConfigCache() ? 2 : 1
            runs.times {
                barrier.expectConcurrent("child-build-started", "1-started", "2-started")
                barrier.expectConcurrent("child-build-finished", "1-finished", "2-finished")
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/ProviderIntegrationTest.groovy

                }
                tasks.register("bar", Bar) {
                    inDir.set($zipExpression)
                }
            """
    
            when:
            run 'bar'
            if (GradleContextualExecuter.isConfigCache()) {
                file('build').forceDeleteDir()
                run 'bar'
            }
    
            then:
            file('build/bam/baz').exists()
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 26 15:32:52 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaToolchainBuildOperationsIntegrationTest.groovy

                    "https://docs.gradle.org/current/userguide/upgrading_version_7.html#org_gradle_util_reports_deprecations"
                if (GradleContextualExecuter.isConfigCache()) {
                    executer.expectDocumentedDeprecationWarning(wrapUtilWarning)
                } else {
                    executer.beforeExecute {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 06:42:07 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  5. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AndroidSantaTrackerCachingSmokeTest.groovy

            if (agpVersion.startsWith('7.3') || VersionNumber.parse(agpVersion) >= VersionNumber.parse('8.1.0')) {
                if (GradleContextualExecuter.isConfigCache()) {
                    result.assertConfigurationCacheStateLoaded()
                }
            } else {
                if (GradleContextualExecuter.isConfigCache()) {
                    result.assertConfigurationCacheStateStored()
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 13:45:43 UTC 2024
    - 209.8K bytes
    - Viewed (0)
  6. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AbstractSmokeTest.groovy

                .withBuildOperationTracing(file("operations").absolutePath)
        }
    
        private List<String> configurationCacheParameters() {
            List<String> parameters = []
            if (GradleContextualExecuter.isConfigCache()) {
                def maxProblems = maxConfigurationCacheProblems()
                parameters += [
                    "--${ConfigurationCacheOption.LONG_OPTION}".toString(),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 08:14:32 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/server/health/gc/GarbageCollectionMonitoringIntegrationTest.groovy

    ${COMMON_HINT}""")
        }
    
        def "expires daemon immediately when garbage collector is thrashing"() {
            given:
            if (JavaVersion.current().isJava9Compatible() && GradleContextualExecuter.isConfigCache()) {
                // For java.util.concurrent.CountDownLatch being serialized reflectively by configuration cache
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/FinalizerTaskIntegrationTest.groovy

                  inputs.files zip
                }
            """
    
            expect:
            2.times {
                run(":test",  ":publish", ":integTest")
                if (GradleContextualExecuter.isConfigCache()) {
                    // With configuration cache tasks can run in parallel
                    result.assertTaskOrder(exact(any(":test", ":integTest"), ":finalizer"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/GradleKotlinDslIntegrationTest.kt

                    "https://docs.gradle.org/current/userguide/upgrading_version_8.html#deprecated_access_to_conventions"
            )
            if (GradleContextualExecuter.isConfigCache()) {
                executer.expectDocumentedDeprecationWarning(
                    "The Provider.forUseAtConfigurationTime method has been deprecated. " +
                        "This is scheduled to be removed in Gradle 9.0. " +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 18:26:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskParametersIntegrationTest.groovy

                    stringInput.set(provider { throw new RuntimeException("BOOM") })
                }
            """)
    
            when:
            fails "failingTask"
    
            then:
            if (GradleContextualExecuter.isConfigCache()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.3K bytes
    - Viewed (0)
Back to top