Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 46 for configCache (0.21 sec)

  1. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/AbstractCompositeBuildValidationIntegrationTest.groovy

    abstract class AbstractCompositeBuildValidationIntegrationTest extends AbstractCompositeBuildIntegrationTest {
        def validationTask(TestFile buildFile, String name, String content) {
            if (GradleContextualExecuter.configCache) {
                buildFile << """
                    tasks.register("$name") {
                        $content
                        doLast { }
                    }
                """
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 06 08:15:28 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskInputFilePropertiesIntegrationTest.groovy

                task customTask(type: CustomTask) {
                    input = dependencyTask
                }
            """
    
            expect:
            fails "customTask"
            if(GradleContextualExecuter.configCache){
                failure.assertThatDescription(containsString("Task `:customTask` of type `CustomTask`: cannot serialize object of type 'org.gradle.api.DefaultTask', " +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 13:04:02 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/testing/TestType.kt

    import org.gradle.api.tasks.testing.Test
    
    
    enum class TestType(val prefix: String, val executers: List<String>) {
        INTEGRATION("integ", listOf("embedded", "forking", "noDaemon", "parallel", "configCache", "isolatedProjects")),
        CROSSVERSION("crossVersion", listOf("embedded", "forking"))
    }
    
    
    fun Test.includeSpockAnnotation(fqcn: String) {
        systemProperties.compute("include.spock.annotation") { _, oldValue ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/core/BuildScanAutoApplyIntegrationTest.groovy

            when:
            fixture.runtimeVersion = version
            fixture.artifactVersion = version
            settingsFile << fixture.plugins()
    
            and:
            if (!GradleContextualExecuter.configCache && VersionNumber.parse(version) < PLUGIN_MINIMUM_NON_DEPRECATED_VERSION) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 08:50:27 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/JvmLibraryArtifactResolveTestFixture.groovy

            ${checkComponentResultArtifacts("componentResult", "sources", expectedSources)}
            ${checkComponentResultArtifacts("componentResult", "javadoc", expectedJavadoc)}
    """
            if (GradleContextualExecuter.configCache) {
                buildFile << """
    task $taskName {
        def root = configurations.${config}.incoming.resolutionResult.rootComponent
        def result = root.map {
            def deps = it.dependencies
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/PropertyAssignmentIntegrationTest.groovy

            "Collection<T> << Provider<T>"           | "<<"      | "List<MyObject>"        | 'provider { new MyObject("a") }'                         | ('[fixed(class MyObject, a)]'.find { configCache } ?: '[provider(?)]')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 28 14:39:49 UTC 2023
    - 36.6K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/execution/ResolveTaskMutationsBuildOperationTypeIntegrationTest.groovy

                task t {
                    outputs.files({ -> throw new RuntimeException("BOOM!") })
                }
            """
            fails "t"
    
            then:
            if (GradleContextualExecuter.configCache) {
                // Configuration caching resolves the outputs when storing to the configuration cache
                // This fails already, so we don't even get to resolving the mutations.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jul 27 12:00:57 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyPermissionsIntegrationTest.groovy

            run "copy"
    
            then:
            file("build/tmp/reference.txt").mode == mode
    
            when:
            if (!GradleContextualExecuter.configCache) {
                executer.expectDocumentedDeprecationWarning("The CopyProcessingSpec.setFileMode(Integer) 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: Wed Apr 03 15:21:23 UTC 2024
    - 20K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractAutoTestedSamplesTest.groovy

            """
            util.findSamples(dir) { file, sample, tagSuffix ->
                println "Found sample: ${sample.split("\n")[0]} (...) in $file"
                if (tagSuffix.contains('WithoutCC') && GradleContextualExecuter.configCache) {
                    println 'Skipping sample tagged WithoutCC'
                    return
                }
                def buildFile = testFile('build.gradle')
                def settingsFile = testFile('settings.gradle')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. testing/integ-test/src/integTest/groovy/org/gradle/integtests/environment/BuildEnvironmentIntegrationTest.groovy

                task show {
                    doLast {
                        println('prop1=' + System.getProperty('prop1'))
                    }
                }
            """
            if (!GradleContextualExecuter.configCache) {
                buildFile << """
                    println('prop2=' + System.getProperty('prop2'))
                """
            } else {
                buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top