Search code examples
gradleidentifier

Gradle: valid project name/path?


What characters are allowed in a project name or path in Gradle? Is it the same as the allowed characters in a directory name for the specific OS (e.g: http://en.wikipedia.org/wiki/Filename#Reserved_characters_and_words)?


Solution

  • Gradle does not impose any limitations on the project name with the exception of the colon (:) which is used as a path separator. For example, my:proj is interpreted by Gradle as a project named proj which is a child of a project named my.