- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 49 for withArgument (0.54 sec)
-
platforms/jvm/jvm-services/src/integTest/groovy/org/gradle/jvm/toolchain/JavaInstallationRegistryIntegrationTest.groovy
.withEnvironmentVars([JDK1: new File("/unknown/env").absolutePath, JDK2: firstJavaHome]) .withArgument("-Porg.gradle.java.installations.paths=${new File("/unknown/path").absolutePath}," + secondJavaHome) .withArgument("-Porg.gradle.java.installations.fromEnv=JDK1,JDK2") .withArgument("--info") .withTasks("show") .run() then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 18:29:03 UTC 2024 - 5.8K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/CommandLineIntegrationSpec.groovy
cleanup: jdwpClient.close() } private startWithDebug(int port, String host) { executer.withArgument("-Dorg.gradle.debug=true") .withArgument("-Dorg.gradle.debug.port=" + port) .withArgument("-Dorg.gradle.debug.host=" + host) .withTasks("help") .start() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 05:05:14 UTC 2024 - 8.6K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/jvm/JavaToolchainFixture.groovy
languageVersion = JavaLanguageVersion.of(${majorVersion}) } } """ } AbstractIntegrationSpec withAutoDetection() { executer.withArgument("-Porg.gradle.java.installations.auto-detect=true") return this as AbstractIntegrationSpec } /** * Usage: * <pre> * def jvm1 = Jvm.current()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 10:21:26 UTC 2024 - 3.7K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonToolchainCoexistWithCurrentOptionsIntegrationTest.groovy
def otherJvmMetadata = AvailableJavaHomes.getJvmInstallationMetadata(otherJvm) captureJavaHome() executer .withArgument("-PtoolchainVersion=$otherJvmMetadata.javaVersion") .withArgument("-PtoolchainVendor=$otherJvmMetadata.vendor.knownVendor") expect: succeeds("help") assertDaemonUsedJvm(Jvm.current()) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 25 13:41:21 UTC 2024 - 4.4K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheRemoteBuildScriptIntegrationTest.groovy
print 'update remote script' """ and: executer.withArgument("--offline") configurationCacheRun 'ok' then: configurationCache.assertStateStored() and: outputDoesNotContain 'update remote script' when: executer.withArgument("--offline") configurationCacheRun 'ok' then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 3.1K bytes - Viewed (0) -
platforms/core-runtime/wrapper-main/src/crossVersionTest/groovy/org/gradle/integtests/wrapper/WrapperOldJavaCrossVersionIntegrationTest.groovy
when: GradleExecuter executor = prepareWrapperExecuter(previous, current).withJavaHome(jdk.javaHome) then: def result = executor.usingExecutable('gradlew').withArgument('help').runWithFailure() result.hasErrorOutput("Gradle ${GradleVersion.current().version} requires Java 1.8 or later to run. You are currently using Java ${jdk.javaVersion}.") where:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 05:54:32 UTC 2024 - 2.6K bytes - Viewed (0) -
testing/soak/src/integTest/groovy/org/gradle/jvm/toolchain/JavaToolchainDownloadComplexProjectSoakTest.groovy
setupSubproject("subproject2", "Bar", otherJdkMetadata) when: result = executer .withTasks("compileJava") .withArgument("--info") .run() then: result.plainTextOutput.matches("(?s).*Compiling with toolchain.*${DefaultJdkCacheDirectory.getInstallFolderName(jdkMetadata)}.*")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 16:09:18 UTC 2024 - 8.5K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/internal/model/ObjectFactoryNamedTypeIntegrationTest.groovy
run("a") then: result.assertTaskSkipped(":a") when: executer.withArgument("-Dname=b") run("a") then: result.assertTaskNotSkipped(":a") file("out.txt").text == "b" when: executer.withArgument("-Dname=b") run("a") then: result.assertTaskSkipped(":a") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 05:39:53 UTC 2024 - 6.2K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/AbstractIsolatedProjectsIntegrationTest.groovy
public static final String ENABLE_CLI = "-D${PROPERTY_NAME}=true" final def fixture = new IsolatedProjectsFixture(this) void withIsolatedProjects() { executer.withArgument(ENABLE_CLI) } void isolatedProjectsRun(String... tasks) { run(ENABLE_CLI, *tasks) } void isolatedProjectsFails(String... tasks) { fails(ENABLE_CLI, *tasks) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 1.3K bytes - Viewed (0) -
platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/AbstractWrapperIntegrationSpec.groovy
executer.beforeExecute(action) executer.withArguments("wrapper", "--gradle-distribution-url", distributionUri.toString()).run() } void prepareWrapper(URI distributionUri = distribution.binDistribution.toURI(), TestKeyStore keyStore) { def executer = new InProcessGradleExecuter(distribution, temporaryFolder) executer.withArguments( "wrapper", "--gradle-distribution-url",
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 05:54:32 UTC 2024 - 2.6K bytes - Viewed (0)