3
0
Fork 1

change server lib dir from bin to libraries

kcx-1614
聪聪 2017-07-23 10:57:21 +08:00
parent 9bed746af2
commit af3b1ee8d1
1 changed files with 3 additions and 2 deletions

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
}