- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 50 for setWorkspace (0.73 sec)
-
subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/GroovyDslWorkspaceProvider.java
.withDisplayName("groovy-dsl"), fileAccessTimeJournal, cacheConfigurations ); } public ImmutableWorkspaceProvider getWorkspace() { return groovyDslWorkspace; } @Override public void close() throws IOException { groovyDslWorkspace.close(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 2K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/CaptureNonIncrementalStateBeforeExecutionStep.java
ImmutableSortedMap.Builder<String, FileSystemSnapshot> builder = ImmutableSortedMap.naturalOrder(); work.visitOutputs(context.getWorkspace(), new UnitOfWork.OutputVisitor() { @Override public void visitOutputProperty(String propertyName, TreeType type, UnitOfWork.OutputFileValueSupplier value) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 10:36:34 UTC 2024 - 2.4K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/BuildCacheStep.java
); } private AfterExecutionResult executeWithCache(UnitOfWork work, C context, BuildCacheKey cacheKey) { CacheableWork cacheableWork = new CacheableWork(context.getIdentity().getUniqueId(), context.getWorkspace(), work); return Try.ofFailable(() -> work.isAllowedToLoadFromCache() ? tryLoadingFromCache(cacheKey, cacheableWork) : Optional.<BuildCacheLoadResult>empty() )
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Feb 05 13:41:13 UTC 2024 - 10.6K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/CaptureIncrementalStateBeforeExecutionStep.java
} @Override protected ImmutableSortedMap<String, FileSystemSnapshot> captureOutputSnapshots(UnitOfWork work, WorkspaceContext context) { return outputSnapshotter.snapshotOutputs(work, context.getWorkspace()); } @Nullable @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 10:36:34 UTC 2024 - 2.9K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/ExecuteStepTest.groovy
} def step = new ExecuteStep<>(new TestBuildOperationRunner()) def inputChanges = Mock(InputChangesInternal) def setup() { _ * context.getWorkspace() >> workspace _ * context.getPreviousExecutionState() >> Optional.of(previousExecutionState) } def "result #workResult yields outcome #expectedOutcome (incremental false)"() { when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 10:36:34 UTC 2024 - 4.6K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/PreCreateOutputParentsStep.java
public PreCreateOutputParentsStep(Step<? super C, ? extends R> delegate) { this.delegate = delegate; } @Override public R execute(UnitOfWork work, C context) { work.visitOutputs(context.getWorkspace(), new UnitOfWork.OutputVisitor() { @Override public void visitOutputProperty(String propertyName, TreeType type, UnitOfWork.OutputFileValueSupplier value) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:22 UTC 2023 - 2.4K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/HandleStaleOutputsStep.java
return result; } private void cleanupStaleOutputs(UnitOfWork work, C context) { Set<File> filesToDelete = new HashSet<>(); work.visitOutputs(context.getWorkspace(), new UnitOfWork.OutputVisitor() { @Override public void visitOutputProperty(String propertyName, TreeType type, UnitOfWork.OutputFileValueSupplier value) { Streams.stream(value.getFiles())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 10:36:34 UTC 2024 - 4.9K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/workspace/impl/CacheBasedImmutableWorkspaceProvider.java
fileAccessTimeJournal, cacheConfigurations.getCreatedResources().getRemoveUnusedEntriesOlderThanAsSupplier() ); } @Override public ImmutableWorkspace getWorkspace(String path) { File immutableWorkspace = new File(baseDirectory, path); fileAccessTracker.markAccessed(immutableWorkspace); return new ImmutableWorkspace() { @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 10 15:51:31 UTC 2024 - 5.3K bytes - Viewed (0) -
platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/internal/tooling/RunBuildDependenciesTaskBuilder.java
} @Override public RunClosedProjectBuildDependencies buildAll(String modelName, EclipseRuntime eclipseRuntime, Project project) { this.projectOpenStatus = eclipseRuntime.getWorkspace().getProjects().stream() .collect(Collectors.toMap(EclipseWorkspaceProject::getName, EclipseModelBuilder::isProjectOpen, (a, b) -> a || b));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 09:45:59 UTC 2024 - 4.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/scopeids/DefaultPersistentScopeIdLoader.java
UniqueId uniqueId = get(new ScopeParams(userScopeCacheScopeMarker(), USER_ID_FILENAME, "User ID")); return new UserScopeId(uniqueId); } @Override public WorkspaceScopeId getWorkspace() { UniqueId uniqueId = get(new ScopeParams(workspaceScopeCacheScopeMarker(), WORKSPACE_ID_FILENAME, "Workspace ID")); return new WorkspaceScopeId(uniqueId); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 10 18:14:29 UTC 2023 - 4.3K bytes - Viewed (0)