Fix settings.gradle on Windows

Fixes: gh-1167
This commit is contained in:
Rob Winch
2018-08-22 10:23:15 -05:00
parent 9df259b1ae
commit 1fc0162fe9

View File

@@ -10,7 +10,7 @@ String rootDirPath = rootDir.absolutePath + File.separator
buildFiles.each { File buildFile ->
if (buildFile.name == 'build.gradle') {
String buildFilePath = buildFile.parentFile.absolutePath
String projectPath = buildFilePath.replace(rootDirPath, '').replaceAll(File.separator, ':')
String projectPath = buildFilePath.replace(rootDirPath, '').replace(File.separator, ':')
include projectPath
}
else {