- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 389 for withArgument (0.25 sec)
-
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenJvmLibraryArtifactResolutionIntegrationTest.groovy
snapshotModule.pom.sha1.expectGet() snapshotModule.pom.expectGet() snapshotSources.expectHead() snapshotSources.expectGet() then: executer.withArgument(execArg) succeeds("verifyRefresh") where: condition | execArg "with --refresh-dependencies" | "--refresh-dependencies" "when snapshot pom changes" | "-Pnocache" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 10.1K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/MavenHttpPluginRepository.groovy
executer.beforeExecute(new Action<GradleExecuter>() { void execute(GradleExecuter e) { if (server.running) { e.withArgument("-D${PLUGIN_PORTAL_OVERRIDE_URL_PROPERTY}=${uri.toString()}") } } }) executer } @Override Statement apply(Statement base, Description description) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.6K bytes - Viewed (0) -
platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/taskgrouping/AbstractConsoleCompositeBuildGroupedTaskFunctionalTest.groovy
} def "does not execute task actions when dry run specified on composite build"() { when: def result = executer.inDirectory(file(PROJECT_B_NAME)).withArgument("--dry-run").withTasks('compileJava').run() then: def strippedGroupedTaskOutput = result.groupedOutput.strippedOutput strippedGroupedTaskOutput.contains(':byeWorld SKIPPED')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 3.4K bytes - Viewed (0) -
platforms/software/resources-sftp/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishSftpIntegrationTest.groovy
new MavenSftpRepository(server, '/repo') } def setup() { // SFTP test fixture does not handle parallel resolution requests executer.beforeExecute { it.withArgument("--max-workers=1") } } def "can publish to a SFTP repository"() { given: def mavenSftpRepo = getMavenSftpRepo()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 3.2K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheDebugLogIntegrationTest.groovy
switch (enablement) { case CCDebugEnablement.DEBUG_LOG_LEVEL: withDebugLogging() break case CCDebugEnablement.SYSTEM_PROPERTY: executer.withArgument "-D$ConfigurationCacheDebugOption.PROPERTY_NAME=true" break case CCDebugEnablement.GRADLE_PROPERTIES_FILE:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 4.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/http/AbstractRedirectResolveIntegrationTest.groovy
backingServer.expectGetBlocking('/redirected/group/projectA/1.0/ivy-1.0.xml') then: executer.beforeExecute { withArgument("-D${SOCKET_TIMEOUT_SYSTEM_PROPERTY}=1000") } fails('listJars') and: failureCauseContains("Could not get resource '${server.uri}/repo/group/projectA/1.0/ivy-1.0.xml'")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3.1K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/BaseJavaSourceIncrementalCompilationIntegrationTest.groovy
textFile.text = "text file as root" outputs.snapshot { run language.compileTaskName } when: file("extra/B.${language.name}").text = "class B { String change; }" executer.withArgument "--info" run language.compileTaskName then: outputs.recompiledClasses("A", "B", "C")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 3.5K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/CrossCompilationIntegrationTest.groovy
new Thing(); } } """ when: executer.beforeExecute({ withArgument("-Porg.gradle.java.installations.paths=" + jvm.getJavaHome().getAbsolutePath()) }) fails("build") then: failure.assertHasDescription("Execution failed for task ':compileJava'.")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 08:31:21 UTC 2024 - 4.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/http/DeprecatedTLSVersionDependencyResolutionIntegrationTest.groovy
and: writeBuildFile() failedResolve.prepare() when: module.allowAll() and: executer.withArgument("-Dhttps.protocols=TLSv1.3") then: fails('checkDeps') failedResolve.assertFailurePresent(failure) } def writeBuildFile() { buildFile << """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3.8K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/process/internal/CancellationIntegrationTest.groovy
new CountDownLatch(1).await(); } } """ } private void startBuild(String task, boolean buildCacheEnabled) { executer.withArgument('--debug').withTasks(task) if (buildCacheEnabled) { executer.withBuildCacheEnabled() } client = new DaemonClientFixture(executer.start())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 26 04:31:03 UTC 2024 - 7.3K bytes - Viewed (0)