For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

getAppDirectory

The application directory. Added to the produced archive by default.

The ear plugin sets the default value for all Ear tasks to src/main/application.

Note, that if the ear plugin is not applied then this property is ignored.

Since

7.1