3
0

change server lib dir from bin to libraries

This commit is contained in:
聪聪 2017-07-23 10:57:21 +08:00
parent 9bed746af2
commit af3b1ee8d1

View File

@ -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
}