Gradle File Resolution: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 9: Line 9:
* [https://docs.gradle.org/current/javadoc/org/gradle/api/Project.html#fileTree-java.lang.Object- Project.fileTree(baseDir)]
* [https://docs.gradle.org/current/javadoc/org/gradle/api/Project.html#fileTree-java.lang.Object- Project.fileTree(baseDir)]


=Project.files(Object... paths)=
=<tt>Project.files(Object... paths)</tt>=


=Organizatorium=
=Organizatorium=

Revision as of 04:41, 22 October 2020

Internal

Overview

The Project API exposes methods for file resolution inside a project:

Project.files(Object... paths)

Organizatorium

output = new File(buildDir, "test.txt")