- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 88 for withArgument (0.18 sec)
-
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rocache/AbstractReadOnlyCacheDependencyResolutionTest.groovy
doLast { configurations.compileClasspath.files $queries } } """ executer.withArgument("--no-configuration-cache") // task uses Configuration API run ":populateCache" executer.stop() copyToReadOnlyCache() buildFile.setText("") buildFile << """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 22 01:27:55 UTC 2024 - 7.6K 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/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) -
testing/soak/src/integTest/groovy/org/gradle/vfs/FileSystemWatchingSoakTest.groovy
return sourceFile } } executer.beforeExecute { withWatchFs() // running in parallel, so the soak test doesn't take this long. withArgument("--parallel") vfsLogs = enableVerboseVfsLogs() inDirectory(rootProject) } } def "file watching works with multiple builds on the same daemon"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 8.6K bytes - Viewed (0) -
platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/JavaCompileDaemonCancellationIntegrationTest.groovy
and: pidFile().exists() def pid2 = pidFile().text.strip() as long pid2 == pid1 } private void startBuild(String task) { executer .withArgument('--debug') .withWorkerDaemonsExpirationDisabled() .withTasks(task) client = new DaemonClientFixture(executer.start()) } private void cancelBuild() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 19:57:50 UTC 2024 - 8.8K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r10rc1/PassingCommandLineArgumentsCrossVersionSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 5.4K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiCompositeBuildsIntegrationTest.groovy
buildFile << """ plugins.apply(my.MyPlugin) """ file("a/build.gradle") << """ plugins.apply(my.MyPlugin) """ when: executer.withArguments(ENABLE_CLI) def model = runBuildAction(new FetchCustomModelForEachProjectInTree()) then: model.size() == 2 model[0].message == "It works from project :"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 6.9K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiParameterizedModelQueryIntegrationTest.groovy
plugins.apply(my.MyPlugin) println("configuring root") """ } def "parameterized models are reused in the same build action"() { when: executer.withArguments(ENABLE_CLI) def models = runBuildAction(new FetchParameterizedCustomModelForEachProject(["fetch1", "fetch2", "fetch1", "fetch2"])) then: fixture.assertStateStored {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 9.3K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiGradleProjectIntegrationTest.groovy
it.tasks.size() > 0 it.children.size() == 1 it.children[0].children.size() == 1 } when: "fetching with Isolated Projects" executer.withArguments(ENABLE_CLI) def projectModel = fetchModel(GradleProject) then: fixture.assertStateStored { modelsCreated(":", GradleProject, IsolatedGradleProjectInternal)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 8.4K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiInvocationValidationIntegrationTest.groovy
buildFile << """ allprojects { plugins.apply('java-library') } plugins.apply(my.MyPlugin) """ when: executer.withArguments(ENABLE_CLI) fetchModelFails() then: fixture.assertStateStoredAndDiscarded { projectConfigured(":buildSrc") modelsCreated(":")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 5.2K bytes - Viewed (0)