toGradle method

String toGradle()

Implementation

String toGradle() {
  String versionPart = (version == null || version == '') ? '' : ':$version';
  return '    implementation "$name$versionPart"\n';
}