Format build script.

This commit is contained in:
John Blum
2018-05-30 20:47:36 -07:00
parent 0c3a1101ce
commit 1d479adf47

View File

@@ -12,12 +12,14 @@ buildFiles.each { File buildFile ->
boolean isDefaultName = 'build.gradle'.equals(buildFile.name) boolean isDefaultName = 'build.gradle'.equals(buildFile.name)
if (isDefaultName) { if (isDefaultName) {
String buildFilePath = buildFile.parentFile.absolutePath String buildFilePath = buildFile.parentFile.absolutePath
String projectPath = buildFilePath.replace(rootDirPath, '').replaceAll(File.separator, ':') String projectPath = buildFilePath.replace(rootDirPath, '').replaceAll(File.separator, ':')
include projectPath include projectPath
} }
else { else {
String projectName = buildFile.name.replace('.gradle', ''); String projectName = buildFile.name.replace('.gradle', '');
String projectPath = ':' + projectName; String projectPath = ':' + projectName;