Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 30 for isConfigCache (0.52 sec)

  1. 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)
  2. 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)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/verification/AbstractDependencyVerificationIntegTest.groovy

    """
            }
        }
    
        protected void assertConfigCacheDiscarded() {
            if (GradleContextualExecuter.isConfigCache()) {
                failure.assertOutputContains("Configuration cache entry discarded")
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  4. 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)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ArtifactCollectionIntegrationTest.groovy

                    }
                }
            """
    
            when:
            succeeds "help"
    
            if (JavaVersion.current().isJava9Compatible() && GradleContextualExecuter.isConfigCache()) {
                // For java.util.concurrent.CopyOnWriteArrayList from DefaultMultiCauseException being serialized reflectively by configuration cache
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. platforms/core-runtime/base-services/src/integTest/groovy/org/gradle/internal/operations/BuildOperationExecutorIntegrationTest.groovy

        def "produces sensible error when there are failures both enqueuing and running operations" () {
            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: Wed Apr 03 12:12:49 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeleteTaskIntegrationTest.groovy

            result.groupedOutput.task(":clean").outcome == "UP-TO-DATE"
    
            // A first CC build may produce build/reports, which renders `clean` out-of-date
            if (GradleContextualExecuter.isConfigCache()) {
                def build = testDirectory.file("build")
                assert build.listFiles().size() == 1 && build.file("reports").exists()
                build.deleteDir()
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/ChangesDuringTheBuildFileSystemWatchingIntegrationTest.groovy

            outputFile.text == "changedAgain"
            assertExpectedProjectFilesInVfs(2)
        }
    
        private void assertExpectedProjectFilesInVfs(int expected) {
            if (GradleContextualExecuter.isConfigCache()) {
                // Cc watches also settings.gradle and build.gradle, so they are added to VFS.
                expected += 2
            }
            assert getProjectFilesInVfs() == expected
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 13:50:33 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/typesafe/TypeSafeProjectAccessorsIntegrationTest.groovy

            //run second time
            when:
            inDirectory 'project'
            run 'help'
            then:
            if (GradleContextualExecuter.isConfigCache()) {
                outputDoesNotContain 'Project accessors enabled, but root project name not explicitly set for \'project\'.'
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 20:11:20 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/server/scaninfo/DaemonScanInfoIntegrationSpec.groovy

            def latch = new CountDownLatch(1)
            """
        }
    
        private void openJpmsModulesForConfigurationCache() {
            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
    - 9.2K bytes
    - Viewed (0)
Back to top