Skip to content
Attila Kelemen edited this page May 6, 2015 · 3 revisions

Project node name

If you want to change the name of the project displayed in the project view, you can customize the display name in a similar way than it is done in Maven projects. You can select, any of the predefined templates or use a custom one, with the following variables:

  • ${project.path}: Replaced with the "path" property of the associated Gradle project. That is the unique name of the project in Gradle (e.g.: ":my-project:my-sub-project"). If the path happens to be an empty string (or a single colon (":")), it will be replaced with the value of ${project.name} instead. Exception: For the buildSrc project (the project used for your build scripts), the name of the parent directory of buildSrc is used.
  • ${project.group}: Replaced with the "group" property of the associated Gradle project.
  • ${project.name}: Replaced with the "name" property of the associated Gradle project. If the name happens to be an empty string, the name of the project directory is used instead. Exception: For the buildSrc project (the project used for your build scripts), the name of the parent directory of buildSrc is used.
  • ${project.version}: Replaced with the "version" property of the associated Gradle project.
Clone this wiki locally