- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 31 for getWorkingDirectory (0.22 sec)
-
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/InvocationSpec.groovy
@CompileStatic interface InvocationSpec { List<String> getTasksToRun() List<String> getJvmArguments() List<String> getArgs() File getWorkingDirectory() boolean isExpectFailure() interface Builder { File getWorkingDirectory() void setWorkingDirectory(File workingDirectory) Builder expectFailure() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/sources/process/ProviderCompatibleBaseExecSpecTestBase.groovy
specUnderTest.copyToParameters(parameters) then: parameters.getWorkingDirectory().isPresent() parameters.getWorkingDirectory().get().asFile.absolutePath == tmpDir.file("foo/bar").absolutePath where: configureAction | _ configure { it.workingDir("foo/bar") } | _
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 5.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/sources/process/ProcessOutputValueSource.java
spec.setIgnoreExitValue(getParameters().getIgnoreExitValue().getOrElse(false)); if (getParameters().getWorkingDirectory().isPresent()) { spec.setWorkingDir(getParameters().getWorkingDirectory().get().getAsFile()); } if (hasFullEnvironment()) { spec.setEnvironment(getParameters().getFullEnvironment().get());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 7.1K bytes - Viewed (0) -
platforms/core-execution/worker-main/src/main/java/org/gradle/process/internal/worker/child/WorkerDirectoryProvider.java
import java.io.File; public interface WorkerDirectoryProvider { /** * Returns a File object representing the working directory for workers. */ File getWorkingDirectory();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 05:58:56 UTC 2024 - 860 bytes - Viewed (0) -
platforms/core-execution/worker-main/src/main/java/org/gradle/process/internal/worker/child/DefaultWorkerDirectoryProvider.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 05:58:56 UTC 2024 - 1.4K bytes - Viewed (0) -
platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/processenvironment/NativePlatformBackedProcessEnvironment.java
@Override protected void setNativeProcessDir(File processDir) { process.setWorkingDirectory(processDir); } @Override public File getProcessDir() { return process.getWorkingDirectory(); } @Override public Long getPid() { return (long) process.getProcessId(); } @Override public void detachProcess() { process.detach(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 1.6K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/GradleBuildExperimentRunner.java
public void doRun(String testId, BuildExperimentSpec experiment, MeasuredOperationList results) { InvocationSpec invocationSpec = experiment.getInvocation(); File workingDirectory = invocationSpec.getWorkingDirectory(); if (!(invocationSpec instanceof GradleInvocationSpec)) { throw new IllegalArgumentException("Can only run Gradle invocations with Gradle profiler"); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 13.5K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/BuildExperimentSpec.groovy
abstract InvocationSpec getInvocation() interface Builder { String getDisplayName() String getProjectName() void setProjectName(String projectName) File getWorkingDirectory() void setWorkingDirectory(File workingDirectory) List<Function<InvocationSettings, BuildMutator>> getBuildMutators() InvocationSpec.Builder getInvocation()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.4K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/AbstractBuildExperimentRunner.java
System.out.printf("%s ...%n", experiment.getDisplayName()); System.out.println(); InvocationSpec invocationSpec = experiment.getInvocation(); File workingDirectory = invocationSpec.getWorkingDirectory(); workingDirectory.mkdirs(); copyTemplateTo(experiment, workingDirectory); doRun(testId, experiment, results); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 8.5K bytes - Viewed (0) -
platforms/native/testing-native/src/main/java/org/gradle/nativeplatform/test/xctest/tasks/XCTest.java
return runScriptFile; } /** * Returns the working directory property for this test. */ @Internal public DirectoryProperty getWorkingDirectory() { return workingDirectory; } @Override protected TestExecuter<XCTestTestExecutionSpec> createTestExecuter() { return getProject().getObjects().newInstance(XCTestExecuter.class);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 4.1K bytes - Viewed (0)