- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 402 for withArgument (0.42 sec)
-
platforms/jvm/plugins-java-base/src/testFixtures/groovy/org/gradle/java/compile/AbstractJavaGroovyCompileAvoidanceIntegrationSpec.groovy
return null; } } """ when: executer.withArgument('-Porder=0') succeeds ":${language.compileTaskName}" then: noExceptionThrown() when: "Order is changed" executer.withArgument('-Porder=1') fails ":${language.compileTaskName}" then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 30K bytes - Viewed (0) -
platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/fixtures/AbstractVisualStudioIntegrationSpec.groovy
assert executer.distribution.gradleHomeDir != null assert !executer.usesSharedDaemons() def executer = new MSBuildExecutor(testDirectory, toolChain) executer.withArgument('/p:Platform=Win32') return executer } protected SolutionFile solutionFile(String path) { return solutionFile(file(path)) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 5.4K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/SingleUseDaemonIntegrationTest.groovy
@Requires(IntegTestPreconditions.NotDaemonExecutor) class SingleUseDaemonIntegrationTest extends AbstractIntegrationSpec implements DaemonJvmPropertiesFixture, JavaToolchainFixture { def setup() { executer.withArgument("--no-daemon") executer.requireIsolatedDaemons() } def "forks build when JVM args are requested"() { requireJvmArg('-Xmx64m') file('build.gradle') << "println 'hello world'"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 25 13:41:21 UTC 2024 - 7K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/m8/ToolingApiLoggingCrossVersionSpec.groovy
if (targetDist.toolingApiMergesStderrIntoStdout) { // The TAPI provider merges the streams, so need to merge the streams for command-line execution too executer.withArgument("--console=plain") executer.withTestConsoleAttached() // We changed the test console system property values in 4.9, need to use "both" instead of "BOTH"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 6.5K bytes - Viewed (0) -
platforms/software/resources-sftp/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishSftpIntegrationTest.groovy
new IvySftpRepository(server, '/repo', m2Compatible, dirPattern) } def setup() { // SFTP test fixture does not handle parallel resolution requests executer.beforeExecute { it.withArgument("--max-workers=1") } } private void buildAndSettingsFilesForPublishing() { settingsFile << 'rootProject.name = "publish"' buildFile << """ apply plugin: 'java'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 8.1K bytes - Viewed (0) -
platforms/jvm/plugins-java-base/src/testFixtures/groovy/org/gradle/java/compile/AbstractIncrementalCompileIntegrationTest.groovy
then: executedAndNotSkipped getAppCompileTask(language) when: writeUnusedLibraryClass(language) then: executer.withArgument('-i') succeeds getAppCompileTask(language) and: outputContains "None of the classes needs to be compiled!" outputContains "${getAppCompileTask(language)} UP-TO-DATE"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 12:15:28 UTC 2023 - 7.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ArtifactCollectionIntegrationTest.groovy
// For java.util.concurrent.CopyOnWriteArrayList from DefaultMultiCauseException being serialized reflectively by configuration cache executer.withArgument('-Dorg.gradle.jvmargs=--add-opens java.base/java.util.concurrent=ALL-UNNAMED') } fails "verify" then: if (FluidDependenciesResolveInterceptor.isFluid()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 02 20:50:18 UTC 2024 - 7.2K bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/plugins/PrecompiledGroovyPluginsIntegrationTest.groovy
when: result = executer.inDirectory(firstDir).withTasks('help').withArgument("--build-cache").run() then: outputContains('my-plugin applied') cachedTasks.forEach { result.assertTaskExecuted(it) } when: result = executer.inDirectory(secondDir).withTasks('help').withArgument("--build-cache").run() then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 28.7K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ivy/IvyHttpRepoResolveIntegrationTest.groovy
module("group:projectA:1.2") } } } void "skip subsequent Ivy repositories on timeout and recovers for later resolution"() { given: executer.withArgument("-D${SOCKET_TIMEOUT_SYSTEM_PROPERTY}=1000") def repo1 = server.getRemoteIvyRepo("/repo1") def repo2 = server.getRemoteIvyRepo("/repo2") def module1 = repo1.module('group', 'projectA').publish()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 7.3K bytes - Viewed (0) -
platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/taskgrouping/AbstractBasicGroupedTaskLoggingFunctionalTest.groovy
} } } """ when: server.expectConcurrent("log1", "log2", "log3") executer.withArgument("--parallel") // run build in another process to avoid interference from logging from test fixtures result = executer.withTasks("log").start().waitForFinish() then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 8.2K bytes - Viewed (0)