Defines a variable which might be replaced with a given string in Gradle commands. Variables in strings take the form "${variable-name}" and their name is case-sensitive. Variable names might only contain: alphanumerical characters (English alphabet), dash ('-'), underscore ('_') and dot ('.') and they must contain at least a single character.
The {@code equals} and {@code hashCode} methods of {@code TaskVariable} aredefined so that two {@code TaskVariable} instance equals, if and only, iftheir {@link #getVariableName() name} equals (case-sensitive).
Instances of {@code TaskVariable} are immutable and as such are safe to beaccessed concurrently without any synchronization.
@see GradleTaskVariableQuery