Browse Source

Fix settings.gradle on Windows

Fixes: gh-5724
pull/6577/head
Rob Winch 7 years ago committed by Josh Cummings
parent
commit
54cc2e4509
No known key found for this signature in database
GPG Key ID: 49EF60DD7FF83443
  1. 2
      settings.gradle

2
settings.gradle

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

Loading…
Cancel
Save