- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 265 for withArgument (0.14 sec)
-
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonIntegrationSpec.groovy
def setup() { executer.requireDaemon() executer.requireIsolatedDaemons() } void stopDaemonsNow() { result = executer.withArguments("--stop", "--info").run() } void buildSucceeds() { result = executer.withArguments("--info").run() } DaemonsFixture getDaemons() { new DaemonLogsAnalyzer(executer.daemonBaseDir) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.7K bytes - Viewed (0) -
platforms/core-runtime/build-profile/src/integTest/groovy/org/gradle/profile/ProfilingIntegrationTest.groovy
file('settings.gradle') << 'include "a", "b", "c"' buildFile << ''' allprojects { apply plugin: 'java' task fooTask task barTask } ''' when: executer.withArgument("--profile") succeeds("build", "fooTask", "-x", "barTask") then: def reportFile = findReport() Document document = Jsoup.parse(reportFile, null)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 01 12:58:53 UTC 2023 - 3.4K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl-integ-tests/src/crossVersionTest/groovy/org/gradle/kotlin/dsl/plugins/PrecompiledKotlinPluginCrossVersionSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 6.5K bytes - Viewed (0) -
platforms/jvm/plugins-groovy/src/integTest/groovy/org/gradle/java/compile/AbstractGroovyCompileAvoidanceIntegrationSpec.groovy
executedAndNotSkipped ":b:compileGroovy" } def "recompile with change of local ast transformation"() { given: executer.beforeExecute { executer.withArgument('--info') } buildFile << astTransformationDeclaration() file("a/src/main/groovy/MyAnnotation.groovy") << astTransformationAnnotation()
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/jvm/jvm-services/src/integTest/groovy/org/gradle/jvm/toolchain/InvalidJvmInstallationReportingIntegrationTest.groovy
when: "running two consecutive builds in a daemon" def results = (0..1).collect { executer .withArgument("-Porg.gradle.java.installations.paths=$invalidJdkHome1.canonicalPath,$invalidJdkHome2.canonicalPath,$existingJdk.javaHome.absolutePath") .withArgument("--info") .requireIsolatedDaemons()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 4.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/crossVersionTest/groovy/org/gradle/integtests/resolve/caching/ConcurrentBuildsCachingCrossVersionIntegrationTest.groovy
previousExecuter.withArgument("-Penable-block1") previousExecuter.withTasks("c") def build1 = previousExecuter.start() block1.waitForAllPendingCalls() // Start build 2 then wait until it has run both 'a' and 'b'. def currentExecuter = version(current) currentExecuter.withArgument("-Penable-block2") currentExecuter.withTasks("c")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3.9K bytes - Viewed (0) -
platforms/jvm/jvm-services/src/integTest/groovy/org/gradle/jvm/toolchain/MavenToolchainsIntegrationTest.groovy
class MavenToolchainsIntegrationTest extends AbstractIntegrationSpec { def "logs at info level when invalid toolchain file is provided"() { def toolchainsFile = file("toolchains.xml") executer.withArgument("-Porg.gradle.java.installations.maven-toolchains-file=${TextUtil.escape(toolchainsFile.absolutePath)}") executer.withToolchainDetectionEnabled() toolchainsFile << "not xml" when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 1.4K 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) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/configurationcache/isolated/IsolatedProjectsExecuterFixture.groovy
@SelfType(AbstractIntegrationSpec) trait IsolatedProjectsExecuterFixture { private static final String ENABLE_CLI = "-D${PROPERTY_NAME}=true" void withIsolatedProjects() { executer.withArgument(ENABLE_CLI) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.1K 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)