-
Notifications
You must be signed in to change notification settings - Fork 57
Appearance
Attila Kelemen edited this page May 24, 2015
·
3 revisions
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.
Defines the way the sources nodes are displayed in the project view. The following modes are currently supported:
- Default: All source roots will be listed directly under the project node.
- Group by source set: All the source sets of the project will be listed directly under the project node and unfolding a source set node will reveal the source roots belonging to that particular source set.