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.

getName

abstract fun getName(): String(source)

Returns the name of this project. The project's name is not necessarily unique within a project hierarchy. You should use the getPath method for a unique identifier for the project. If the root project is unnamed and is located on a file system root it will have a randomly-generated name

Return

The name of this project. Never return null.

Since

0.7