Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for isConfigCache (0.17 sec)

  1. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AndroidPluginsSmokeTest.groovy

            result.task(':app:assembleDebug').outcome == TaskOutcome.SUCCESS
    
            and:
            assert !result.output.contains(JAVA_COMPILE_DEPRECATION_MESSAGE)
    
            and:
            if (GradleContextualExecuter.isConfigCache()) {
                result.assertConfigurationCacheStateStored()
            }
    
            when: 'up-to-date build'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 16K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformIsolationIntegrationTest.groovy

                    }
                }
            """
            def isConfigCache = GradleContextualExecuter.configCache
    
            when:
            fails ':consumer:resolve'
            then:
            failureDescriptionContains(isConfigCache ? "MakeGreen" : "Execution failed for task ':consumer:resolve'.")
            failureCauseContains(isConfigCache ? "MakeGreen" : "Could not isolate parameters null of artifact transform MakeGreen")
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/plugins/dsl/KotlinDslPluginCrossVersionSmokeTest.kt

            withDefaultSettings()
            withBuildScript("""plugins { id("some") }""")
    
            expectConventionDeprecations()
            expectKotlinDslPluginDeprecation()
            if (GradleContextualExecuter.isConfigCache()) {
                expectForUseAtConfigurationTimeDeprecation()
            }
    
            build("help").apply {
    
                assertThat(
                    output,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 29 11:39:00 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  4. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishHttpIntegTest.groovy

            server.authenticationScheme = AuthScheme.BASIC
    
            when:
            fails 'publish'
    
            then:
            if (GradleContextualExecuter.isConfigCache()) {
                failure.assertHasDescription("Configuration cache state could not be cached:")
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  5. platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/WatchedDirectoriesFileSystemWatchingIntegrationTest.groovy

            then:
            skipped(":includedBuild:jar")
            // configuration cache registers all build directories at startup so the cache fingerprint can be checked
            def expectedWatchableCount = GradleContextualExecuter.isConfigCache() ? 4 : 2
            assertWatchableHierarchies([ImmutableSet.of(consumer, includedBuild)] * expectedWatchableCount)
            when:
            includedBuild.file("src/main/java/NewClass.java")  << "public class NewClass {}"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 13:50:33 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top