mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-06 16:51:37 +00:00
Use File.separator in settings.gradle
This commit is contained in:
+1
-1
@@ -27,7 +27,7 @@ def processPluginDir(Path pluginDir) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
def relativePath = pluginDir.relativize(parentPath)
|
def relativePath = pluginDir.relativize(parentPath)
|
||||||
def pluginName = relativePath.toString().replaceAll("/", ":")
|
def pluginName = relativePath.toString().replaceAll(File.separator, ":")
|
||||||
|
|
||||||
include ":game:plugin:$pluginName"
|
include ":game:plugin:$pluginName"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user