Gradle File Resolution: Difference between revisions
Jump to navigation
Jump to search
Line 15: | Line 15: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
TODO: https://docs.gradle.org/current/dsl/org.gradle.api.Project.html#org.gradle.api.Project:files(java.lang.Object[]) | TODO: https://docs.gradle.org/current/dsl/org.gradle.api.Project.html#org.gradle.api.Project:files(java.lang.Object[]) | ||
=CoypSpec= | |||
{{External|https://docs.gradle.org/current/javadoc/org/gradle/api/file/CopySpec.html}} | |||
=Organizatorium= | =Organizatorium= |
Revision as of 06:04, 22 October 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
Organizatorium
output = new File(buildDir, "test.txt")