mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-03 00:38:21 +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 pluginName = relativePath.toString().replaceAll("/", ":")
|
||||
def pluginName = relativePath.toString().replaceAll(File.separator, ":")
|
||||
|
||||
include ":game:plugin:$pluginName"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user