- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for getFileChanges (0.42 sec)
-
subprojects/core-api/src/main/java/org/gradle/work/InputChanges.java
* </p> * <ul> * <li>{@link #getFileChanges(FileCollection)} and {@link #getFileChanges(Provider)} report changes to the input files compared to the previous execution.</li> * </ul> * <p> * When <code>false</code>: * </p> * <ul> * <li>Every input file is reported via {@link #getFileChanges(FileCollection)} and {@link #getFileChanges(Provider)} as if it was {@link ChangeType#ADDED}.</li>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 26 09:19:43 UTC 2023 - 5.5K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/IncrementalInputChanges.java
@Override public boolean isIncremental() { return true; } @Override public Iterable<FileChange> getFileChanges(FileCollection parameter) { return getObjectFileChanges(parameter); } @Override public Iterable<FileChange> getFileChanges(Provider<? extends FileSystemLocation> parameter) { return getObjectFileChanges(parameter); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 2.3K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/dsl/org.gradle.work.InputChanges.xml
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.1K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/NonIncrementalInputChanges.java
@Override public boolean isIncremental() { return false; } @Override public Iterable<FileChange> getFileChanges(FileCollection parameter) { return getObjectFileChanges(parameter); } @Override public Iterable<FileChange> getFileChanges(Provider<? extends FileSystemLocation> parameter) { return getObjectFileChanges(parameter); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 4.8K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/tasks/incrementalTask/kotlin/build.gradle.kts
println( if (inputChanges.isIncremental) "Executing incrementally" else "Executing non-incrementally" ) // tag::process-changed-inputs[] inputChanges.getFileChanges(inputDir).forEach { change -> if (change.fileType == FileType.DIRECTORY) return@forEach println("${change.changeType}: ${change.normalizedPath}")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 2.5K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/dependencyManagement/artifactTransforms-incremental/groovy/build.gradle
def outputDir = outputs.dir("${input.get().asFile.name}.loc") println("Running transform on ${input.get().asFile.name}, incremental: ${inputChanges.incremental}") inputChanges.getFileChanges(input).forEach { change -> // <2> def changedFile = change.file if (change.fileType != FileType.FILE) { return }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.8K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/dependencyManagement/artifactTransforms-incremental/kotlin/build.gradle.kts
val outputDir = outputs.dir("${input.get().asFile.name}.loc") println("Running transform on ${input.get().asFile.name}, incremental: ${inputChanges.isIncremental}") inputChanges.getFileChanges(input).forEach { change -> // <2> val changedFile = change.file if (change.fileType != FileType.FILE) { return@forEach }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/tasks/incrementalTask/groovy/build.gradle
println(inputChanges.incremental ? 'Executing incrementally' : 'Executing non-incrementally' ) // tag::process-file-changes[] inputChanges.getFileChanges(inputDir).each { change -> if (change.fileType == FileType.DIRECTORY) return println "${change.changeType}: ${change.normalizedPath}"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 2.4K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/NonIncrementalInputChangesTest.groovy
def expectedChangedFiles = [new File("/some/where")] when: def allFileChanges = changes.allFileChanges def fileChanges = changes.getFileChanges(value) then: allFileChanges*.file == expectedChangedFiles allFileChanges*.file == expectedChangedFiles fileChanges*.file == expectedChangedFiles
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 2.4K bytes - Viewed (0) -
platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/tasks/UnexportMainSymbol.java
public DirectoryProperty getOutputDirectory() { return outputDirectory; } @TaskAction protected void unexport(InputChanges inputChanges) { for (FileChange change : inputChanges.getFileChanges(getObjects())) { if (change.getChangeType() == ChangeType.REMOVED) { File relocatedFileLocation = relocatedObject(change.getFile()); relocatedFileLocation.delete();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 5.2K bytes - Viewed (0)