Use File.separator in settings.gradle

This commit is contained in:
Gary Tierney
2017-09-16 22:13:12 +01:00
parent a60cc82650
commit 68710cae47
+1 -1
View File
@@ -27,7 +27,7 @@ def processPluginDir(Path pluginDir) {
}
def relativePath = pluginDir.relativize(parentPath)
def pluginName = relativePath.toString().replaceAll("/", ":")
def pluginName = relativePath.toString().replaceAll(File.separator, ":")
include ":game:plugin:$pluginName"
}