- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for getFileChanges (0.52 sec)
-
platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/custom_tasks.adoc
==== The incremental task action can use link:{groovyDslPath}/org.gradle.work.InputChanges.html#org.gradle.work.InputChanges:getFileChanges(org.gradle.api.file.FileCollection)[`InputChanges.getFileChanges()`] to find out what files have changed for a given file-based input property, be it of type `RegularFileProperty`, `DirectoryProperty` or `ConfigurableFileCollection`.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Feb 25 15:21:05 UTC 2024 - 23.6K bytes - Viewed (0) -
platforms/jvm/language-java/src/main/java/org/gradle/api/tasks/compile/JavaCompile.java
return new JavaRecompilationSpecProvider( getDeleter(), getServices().get(FileOperations.class), sources, inputs.isIncremental(), () -> inputs.getFileChanges(getStableSources()).iterator() ); } private boolean isUsingCliCompiler(DefaultJavaCompileSpec spec) { return CommandLineJavaCompileSpec.class.isAssignableFrom(spec.getClass()); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 15:33:35 UTC 2024 - 15.3K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/file/FileCollectionSymlinkIntegrationTest.groovy
@Incremental @InputFiles FileCollection brokenInputFiles @OutputFile File output @TaskAction execute(InputChanges changes) { output.text = changes.getFileChanges(brokenInputFiles)*.changeType } } task inputBrokenLinkNameCollector(type: CustomTask) { brokenInputFiles = files '${brokenInputFile}'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 15.7K bytes - Viewed (0) -
platforms/jvm/language-groovy/src/main/java/org/gradle/api/tasks/compile/GroovyCompile.java
getDeleter(), getServices().get(FileOperations.class), stableSources.getAsFileTree(), inputChanges.isIncremental(), () -> inputChanges.getFileChanges(stableSources).iterator() ); } /** * The sources for incremental change detection. * * @since 5.6 */ @SkipWhenEmpty @IgnoreEmptyDirectories
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 15.6K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/implementing_custom_tasks.adoc
|`@SkipWhenEmpty` |Property is a file or directory and the task should be skipped when the value of the property is empty |`@Incremental` |Property is a file or directory and changes to it can be queried with `@InputChanges.getFileChanges()` |`@Optional` |Property is any type, its value does not have to be specified and validation checks are disabled |`@PathSensitive`
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 05:34:54 UTC 2024 - 37.2K bytes - Viewed (0)