Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 89 for withArgument (0.19 sec)

  1. platforms/jvm/toolchains-jvm/src/crossVersionTest/groovy/org/gradle/jvm/toolchain/internal/install/ProvisionedJdkReuseCrossVersionIntegrationTest.groovy

            then:
            def previousJavaHome = getPrintedJavaHome(result)
            previousJavaHome.startsWith(jdkDir)
    
            and:
            jdkRepository.expectHead()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 16:09:27 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r31/AdHocCompositeDependencySubstitutionCrossVersionSpec.groovy

                """
            }
        }
    
        def "EclipseProject model has dependencies substituted in composite"() {
            when:
            def eclipseProject = withConnection {
                model(EclipseProject).withArguments('--include-build', 'buildB').get()
            }
    
            then:
            assert eclipseProject.classpath.empty
            assert eclipseProject.projectDependencies.size() == 1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/CrossProcessFileLockIntegrationTest.groovy

            """
    
            then:
            def handle1 = executer.withArguments(':a:build', '-i').start()
            poll(120) {
                assert handle1.standardOutput.contains('waiting for file...')
            }
            //first build is waiting for file, so the lock should be releasable now (for example: the task history lock)
    
            and:
            def handle2 = executer.withArguments('b:build', '-is').start()
            handle2.waitForFinish()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperUserHomeIntegrationTest.groovy

            given:
            prepareWrapper()
            def gradleUserHome = testDirectory.file('some-custom-user-home')
    
            when:
            def executer = wrapperExecuter.withGradleUserHomeDir(null)
            executer.withArguments("-Dgradle.user.home=$gradleUserHome.absolutePath")
            executer.run()
    
            then:
            installationIn gradleUserHome
        }
    
        @Issue('https://issues.gradle.org/browse/GRADLE-2802')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsJavaPluginIntegrationTest.groovy

            javaProject(file("a"))
            javaProject(file("b"), """
                dependencies {
                    implementation(project(':a'))
                }
            """)
    
            when:
            executer.withArguments(ENABLE_CLI)
            runBuildAction(new FetchCustomModelForEachProjectInParallel())
    
            then:
            fixture.assertStateStored {
                projectsConfigured(":buildSrc", ":", ":a", ":b")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r61/GradleProjectBuilderOptionsCrossVersionSpec.groovy

                if (option != null) {
                    // important to set arguments, and not JVM arguments, as it's what is used by Android Studio to set the option
                    it.withArguments("-Dorg.gradle.internal.GradleProjectBuilderOptions=$option")
                }
            }
    
            then:
            result.assertOutputContains("realizing non-lazy task")
            if (realizesLazy) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r50/ProjectStateLockingCrossVersionTest.groovy

                buildFile << """
                    apply plugin: 'java'
                """
            }
    
            when:
            withConnection {
                def executer = action(new FetchIdeaProject())
                executer.withArguments("--warning-mode", "all")
                collectOutputs(executer)
                executer.run()
            }
    
            then:
            !stdout.toString().contains("was resolved without accessing the project in a safe manner")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/crossVersionTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheCrossVersionTest.groovy

        }
    
        void runPrevious() {
            previousExecuter.withArguments(argFor(previous.version), 'help').run()
        }
    
        void runCurrent() {
            currentExecuter.withArguments(argFor(current.version), 'help').run()
        }
    
        private static String argFor(GradleVersion version) {
            version.baseVersion < GradleVersion.version("6.6")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/InitScriptExecutionIntegrationTest.groovy

            and:
            file("init.gradle") << """
    allprojects {
        task worker
    }
    rootProject {
        task root(dependsOn: allprojects*.worker)
    }
            """
    
            when:
            executer.withArguments("-I", "init.gradle")
            run "root"
    
            then:
            result.assertTasksExecuted(':worker', ':a:worker', ':b:worker', ':root')
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/AbstractDaemonLifecycleSpec.groovy

        void startBuild(String javaHome = null, String buildEncoding = null) {
            run {
                executer.withTasks("watch")
                executer.withDaemonIdleTimeoutSecs(daemonIdleTimeout)
                executer.withArguments(
                    "-Dorg.gradle.daemon.healthcheckinterval=${periodicCheckInterval * 1000}",
                    "--debug" // Need debug logging so we can extract the `DefaultDaemonContext`
                )
                if (javaHome) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 13:32:55 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top