From af3b1ee8d117be6bd62b78d21bbc5c3767ca2e39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=81=AA=E8=81=AA?= <178666380@qq.com> Date: Sun, 23 Jul 2017 10:57:21 +0800 Subject: [PATCH] change server lib dir from bin to libraries --- buildSrc/src/main/groovy/kcauldron/InstallBundle.groovy | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/buildSrc/src/main/groovy/kcauldron/InstallBundle.groovy b/buildSrc/src/main/groovy/kcauldron/InstallBundle.groovy index 6dcfcaf..8af41a0 100644 --- a/buildSrc/src/main/groovy/kcauldron/InstallBundle.groovy +++ b/buildSrc/src/main/groovy/kcauldron/InstallBundle.groovy @@ -33,7 +33,7 @@ class InstallBundle extends DefaultTask { installLocation.deleteDir() installLocation.mkdirs() new File(installLocation, "README.txt").withWriter { - def String jarPath = 'bin/' << (project.group as String).replace('.', File.separator) << File.separator << project.name << File.separator << project.version << File.separator << project.name << '-' << project.version << '.jar' + def String jarPath = 'libraries' << File.separator << (project.group as String).replace('.', File.separator) << File.separator << project.name << File.separator << project.version << File.separator << project.name << '-' << project.version << '.jar' it << '''KCauldron installation guide @@ -67,7 +67,8 @@ If you are not yet convinced and want to use bundles instead KBootstrap... Meh, classpath cp main bootstrapMain args '--serverDir', installLocation.canonicalPath, - '--installServer', serverJar.canonicalFile + '--installServer', serverJar.canonicalFile, + '--binDir', 'libraries' } if (result.exitValue == 0) return }