Gradle File Resolution: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 8: Line 8:
* [https://docs.gradle.org/current/javadoc/org/gradle/api/Project.html#files-java.lang.Object...- Project.files(paths...)]
* [https://docs.gradle.org/current/javadoc/org/gradle/api/Project.html#files-java.lang.Object...- Project.files(paths...)]
* [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)]
=Organizatorium=
<syntaxhighlight lang='groovy'>
output = new File(buildDir, "test.txt")
</syntaxhighlight>

Revision as of 00:50, 19 October 2020

Internal

Overview

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

Organizatorium

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