Fix settings.gradle on Windows

Fixes: gh-1169
This commit is contained in:
Rob Winch
2018-08-22 17:23:15 +02:00
committed by Vedran Pavic
parent dc1c7cdf02
commit 748ba70a01

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 {