Gradle File Resolution: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 10: Line 10:


=<tt>Project.files(Object... paths)</tt>=
=<tt>Project.files(Object... paths)</tt>=
Many methods that accept files as arguments mention that the inputs will be "evaluated as per:
<syntaxhighlight lang='groovy'>
Project.files(Object... paths)
</syntaxhighlight>
TODO: https://docs.gradle.org/current/dsl/org.gradle.api.Project.html#org.gradle.api.Project:files(java.lang.Object[])


=Organizatorium=
=Organizatorium=

Revision as of 04:42, 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)

TODO: https://docs.gradle.org/current/dsl/org.gradle.api.Project.html#org.gradle.api.Project:files(java.lang.Object[])

Organizatorium

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