fix dumb gradle issue

This commit is contained in:
dfsek
2021-04-26 21:26:44 -07:00
parent 205499220d
commit 6f1b1611ab
+2 -2
View File
@@ -70,8 +70,8 @@ fun installServer(dir: String) {
// Cloning test setup. // Cloning test setup.
gitClone("https://github.com/PolyhedralDev/WorldGenTestServer") gitClone("https://github.com/PolyhedralDev/WorldGenTestServer")
// Copying plugins // Copying plugins
Files.move(Paths.get("WorldGenTestServer/plugins"), Files.move(file("WorldGenTestServer/plugins").toPath(),
Paths.get("$testDir/$dir/plugins"), file("$testDir/$dir/plugins").toPath(),
StandardCopyOption.REPLACE_EXISTING) StandardCopyOption.REPLACE_EXISTING)
// Copying config // Copying config
val serverText = URL("https://raw.githubusercontent.com/PolyhedralDev/WorldGenTestServer/master/server.properties").readText() val serverText = URL("https://raw.githubusercontent.com/PolyhedralDev/WorldGenTestServer/master/server.properties").readText()