GRADLE-2969 - decent error message for null as a dependency notation.
minor formatting.
to Java.