Gradle File Resolution: Difference between revisions
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
* https://docs.gradle.org/current/userguide/working_with_files.html | * https://docs.gradle.org/current/userguide/working_with_files.html | ||
=Internal= | =Internal= | ||
* [[Gradle_Concepts#Gradle_File_Resolution|Gradle Concepts]] | |||
* [[Gradle Project#Gradle_File_Resolution|Gradle Project]] | * [[Gradle Project#Gradle_File_Resolution|Gradle Project]] | ||
Revision as of 06:41, 28 March 2021
External
Internal
TODO
TODO: https://docs.gradle.org/current/userguide/working_with_files.html
Overview
The Project API exposes methods for file resolution inside a project:
Project.file(Object path) and 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
File Tree
Organizatorium
output = new File(buildDir, "test.txt")