diff --git a/settings.gradle b/settings.gradle
index f8d45ee0..0b0d8c99 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -30,5 +30,5 @@ String[] includes = [
 includes.each {
     include it
     ProjectDescriptor project = project(it)
-    project.name = rootProject.name + project.projectDir.absolutePath.replace(rootDir.absolutePath, "").replace("/", ".")
+    project.name = rootProject.name + project.projectDir.absolutePath.replace(rootDir.absolutePath, "").replace(File.separator, ".")
 }