浏览代码

Fix settings.gradle on Windows

Fixes: gh-5724
Rob Winch 7 年之前
父节点
当前提交
4ddaac3b8e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      settings.gradle

+ 1 - 1
settings.gradle

@@ -16,7 +16,7 @@ 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, '').replace(File.separator, ':')
 		include projectPath
 		include projectPath
 	} else {
 	} else {
 		String projectName = buildFile.name.replace('.gradle', '');
 		String projectName = buildFile.name.replace('.gradle', '');