Scala's literal identifiers are described in Need clarification on Scala literal identifiers (backticks).
Background: I'm converting an Ant build system to Gradle. We currently have a file dependencies.properties
with definitions like:
com.netflix.archaius.archaius-core.rev=latest.release
But Groovy doesn't like the .
and -
in the property names (since they're operators). Rather than changing the names of the properties and everything using them, is there a way to tell Groovy to consider the .
and -
as simply another character in the property name?