Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 164 for withArgument (0.31 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/BeforeResolveIntegrationTest.groovy

                configurations {
                    foo
                }
    
                dependencies {
                    foo "org.test:module1:1.0"
                }
            """
    
            expect:
            executer.withArgument("--parallel")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 02:27:32 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  2. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/StaleOutputIntegrationTest.groovy

            def original = file('build/original/original.txt')
            original.text = "Original"
            def backup = file('backup/original.txt')
    
            and:
            executer.beforeExecute {
                withArgument("--max-workers=1")
            }
    
            when:
            succeeds "backup"
            then:
            executedAndNotSkipped(':backup')
    
            when:
            succeeds "restore"
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 23K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DependencyManagementResultsAsInputsIntegrationTest.groovy

            executer.beforeExecute {
                executer.noDeprecationChecks() // Cannot convert the provided notation to a File or URI
                executer.withArgument("-Dorg.gradle.internal.max.validation.errors=20")
            }
    
            given:
            buildFile << """
                interface NestedBean {
                    $annotation
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/services/BuildServiceIntegrationTest.groovy

                        provider.get().increment()
                    }
                }
    
                provider.get().increment()
            """
            executer.beforeExecute {
                withArgument("--configuration-cache")
                withArgument("-Dorg.gradle.configuration-cache.internal.load-after-store=true")
            }
    
            when:
            run("count")
    
            then:
            output.count("service:") == 6
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 19:15:46 UTC 2024
    - 61K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformExecutionBuildOperationIntegrationTest.groovy

        }
    
        void enableIdentityCache() {
            // So we don't get a daemon from another test
            executer.requireIsolatedDaemons()
            executer.beforeExecute {
                executer.withArgument("-D$REUSE_USER_HOME_SERVICES=true")
            }
        }
    
        List<BuildOperationRecord> getTransformExecutions() {
            buildOperations.all(ExecuteWorkBuildOperationType)
        }
    
        @NamedVariant
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 16:27:38 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  6. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/MavenConversionIntegrationTest.groovy

        }
    
        @Issue("GRADLE-2872")
        def "expandProperties"() {
            def dsl = dslFixtureFor(scriptDsl)
    
            setup:
            withSharedResources()
            executer.withArgument("-DCOMMONS_LANG_VERSION=2.6")
    
            when:
            run 'init', '--dsl', scriptDsl.id as String
    
            then:
            dsl.assertGradleFilesGenerated()
    
            when:
            run('clean', 'build')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 14 15:23:34 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  7. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/ValidatePluginsPart1IntegrationTest.groovy

                    @Nested
                    public NestedBean getNestedBean() { return nested; }
                }
            """
    
            expect:
            executer.withArgument("-Dorg.gradle.internal.max.validation.errors=7")
            assertValidationFailsWith([
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/catalog/TomlDependenciesExtensionIntegrationTest.groovy

        }
    
        private GradleExecuter withConfigurationCache() {
            executer.withArgument("--configuration-cache")
        }
    
        @Issue("https://github.com/gradle/gradle/issues/20383")
        def "should throw an error if 'from' is called with file collection containing more than one file"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 33K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiModelQueryIntegrationTest.groovy

            """
    
            when:
            executer.withArguments(ENABLE_CLI)
            fetchModel(SomeToolingModel, "help")
    
            then:
            notExecuted("help")
            fixture.assertStateStored {
                projectsConfigured(":buildSrc", ":")
                modelsCreated(":")
            }
    
            when:
            executer.withArguments(ENABLE_CLI)
            fetchModel(SomeToolingModel, ":dummyTask")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r10rc1/PassingCommandLineArgumentsCrossVersionSpec.groovy

            logger.debug("debugging stuff")
            logger.info("infoing stuff")
    """
    
            when:
            String debug = withBuild { it.withArguments('-d') }.standardOutput
    
            and:
            String info = withBuild { it.withArguments('-i') }.standardOutput
    
            then:
            debug.count("debugging stuff") == 1
            debug.count("infoing stuff") == 1
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top