Elimination of spaces in project names is to stay, not a mistake?

(Morten Sabroe Mortensen) #1

The more recent versions of Gradle complain about project names with certain characters. I am very unpleased that the warning presented is activated by spaces and even though a number of other charcters not including a space are listed.

Can I no longer name my project e.g. “Servlet Context Library”? Am I forced to use “Servlet Context Library”? If I like “Exchange JAX-WS Library”, I have to change this to “Exchange-JAX-WS-Library” and which diminish or eliminate the meaning of ‘-’.

A policy of no spaces in project names - is this for real or just a mistake?

$ gradle build
The project name 'Servlet Context Library' contains at least one of the following characters: [ , /, \, :, <, >, ", ?, *, |]. This has been deprecated and is scheduled to be removed in Gradle 5.0. Set the 'rootProject.name' or adjust the 'include' statement (see https://docs.gradle.org/4.7/dsl/org.gradle.api.initialization.Settings.html#org.gradle.api.initialization.Settings:include(java.lang.String[]) for more details).