mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-12-06 03:07:19 +00:00
Use File.separator in settings.gradle
This commit is contained in:
1 parent
a60cc82650
commit
68710cae47
1 file changed
+1
-1
+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