Gradle File Resolution: Difference between revisions
Jump to navigation
Jump to search
Line 17: | Line 17: | ||
=CoypSpec= | =CoypSpec= | ||
{{External|https://docs.gradle.org/current/javadoc/org/gradle/api/file/CopySpec.html}} | {{External|https://docs.gradle.org/current/javadoc/org/gradle/api/file/CopySpec.html}} | ||
=<span id='FileCollection'></span>org.gradle.api.file.FileCollection= | =<span id='FileCollection'></span><tt>org.gradle.api.file.FileCollection</tt>= | ||
{{External|https://docs.gradle.org/current/javadoc/org/gradle/api/file/FileCollection.html}} | {{External|https://docs.gradle.org/current/javadoc/org/gradle/api/file/FileCollection.html}} | ||
Revision as of 04:26, 9 November 2020
Internal
Overview
The Project API exposes methods for file resolution inside a project:
Project.files(Object... paths)
Many methods that accept files as arguments mention that the inputs will be "evaluated as per:
Project.files(Object... paths)
CoypSpec
org.gradle.api.file.FileCollection
Organizatorium
output = new File(buildDir, "test.txt")