Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 402 for withArgument (0.78 sec)

  1. testing/integ-test/src/integTest/groovy/org/gradle/integtests/TaskExecutionIntegrationTest.groovy

                executer.withTasks("d").withArguments("-x", ":sub:c").run().assertTasksExecuted(":a", ":b", ":c", ":d", ":sub:d")
                executer.withTasks("d").withArguments("-x", "d").run().assertTasksExecuted()
                // Project defaults
                executer.withArguments("-x", "b").run().assertTasksExecuted(":a", ":c", ":d", ":sub:c", ":sub:d")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiIdeaProjectIntegrationTest.groovy

            when:
            executer.withArguments(ENABLE_CLI)
            fetchModel(IdeaProject)
    
            then:
            fixture.assertStateLoaded()
        }
    
        def "can fetch BasicIdeaProject model for root and re-fetch cached"() {
            settingsFile << """
                rootProject.name = 'root'
            """
    
            when:
            executer.withArguments(ENABLE_CLI)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/StoppingDaemonIntegrationSpec.groovy

            blockingHandler.waitForAllPendingCalls()
    
            def stopExecutions = []
            5.times { idx ->
                stopExecutions << executer.withArguments("--stop").start()
            }
            stopExecutions.each { it.waitForFinish() }
            def out = executer.withArguments("--stop").run().output
    
            then:
            stopsSingleDaemon()
            out.contains(DaemonMessages.NO_DAEMONS_RUNNING)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiParameterizedModelQueryIntegrationTest.groovy

                plugins.apply(my.MyPlugin)
                println("configuring root")
            """
        }
    
        def "parameterized models are reused in the same build action"() {
            when:
            executer.withArguments(ENABLE_CLI)
            def models = runBuildAction(new FetchParameterizedCustomModelForEachProject(["fetch1", "fetch2", "fetch1", "fetch2"]))
    
            then:
            fixture.assertStateStored {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r66/CommandLineOptionsCrossVersionSpec.groovy

        }
    
        def "can specify options using command-line arguments"() {
            when:
            def result = withBuild { BuildLauncher launcher ->
                launcher.withArguments("--max-workers", "12")
            }
    
            then:
            result.standardOutput.contains("max workers: 12")
        }
    
        @TargetGradleVersion(">=6.6")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/execution/commandline/CommandLineIntegrationTest.groovy

            then:
            // Handle JAVA_HOME specified
            executer.withJavaHome(javaHome).withArguments(expectedJavaHome).withTasks('checkJavaHome').run()
    
            // Handle JAVA_HOME with trailing separator
            executer.withJavaHome(javaHome + File.separator).withArguments(expectedJavaHome).withTasks('checkJavaHome').run()
    
            if (!OperatingSystem.current().isWindows()) {
                return
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:22 UTC 2024
    - 12K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiGradleProjectIntegrationTest.groovy

                it.tasks.size() > 0
                it.children.size() == 1
                it.children[0].children.size() == 1
            }
    
            when: "fetching with Isolated Projects"
            executer.withArguments(ENABLE_CLI)
            def projectModel = fetchModel(GradleProject)
    
            then:
            fixture.assertStateStored {
                modelsCreated(":", GradleProject, IsolatedGradleProjectInternal)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/native-binaries/target-platforms/groovy/build.gradle

    plugins {
        id 'cpp'
    }
    
    // tag::targetplatforms[]
    model {
        toolChains {
            gcc(Gcc) {
                target("arm"){
                    cppCompiler.withArguments { args ->
                        args << "-m32"
                    }
                    linker.withArguments { args ->
                        args << "-m32"
                    }
                }
                target("sparc")
            }
        }
        platforms {
            arm {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 688 bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiInvocationValidationIntegrationTest.groovy

            buildFile << """
                allprojects {
                    plugins.apply('java-library')
                }
                plugins.apply(my.MyPlugin)
            """
    
            when:
            executer.withArguments(ENABLE_CLI)
            fetchModelFails()
    
            then:
            fixture.assertStateStoredAndDiscarded {
                projectConfigured(":buildSrc")
                modelsCreated(":")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/artifactreuse/ResolutionOverrideIntegrationTest.groovy

            module.pom.sha1.expectGet()
            module.pom.expectGet()
            module.artifact.expectHead()
            module.artifact.sha1.expectGet()
            module.artifact.expectGet()
    
            and:
            executer.withArguments(arg)
            succeeds 'retrieve'
    
            then:
            file('libs/projectA-1.2.jar').assertIsCopyOf(module.artifactFile).assertHasChangedSince(snapshot)
    
            where:
            arg << refreshDependenciesArgs
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.9K bytes
    - Viewed (0)
Back to top