[FIX] Gradle scripts.

This commit is contained in:
zaxar163 2019-03-15 17:34:49 +03:00
parent f739cff28c
commit 62af331966
No known key found for this signature in database
GPG key ID: E3B309DD3852DE06

View file

@ -121,12 +121,13 @@ task dumpCompileOnlyLibs(type: Copy) {
} }
task bundle(type: Zip) { task bundle(type: Zip) {
dependsOn parent.childProjects.Launcher.tasks.build, tasks.dumpLibs, tasks.jar dependsOn parent.childProjects.Launcher.tasks.build, tasks.dumpLibs, tasks.dumpCompileOnlyLibs, tasks.jar
archiveName 'LaunchServer.zip' archiveName 'LaunchServer.zip'
destinationDir file("$buildDir") destinationDir file("$buildDir")
from(tasks.dumpLibs.destinationDir) { into 'libraries' } from(tasks.dumpLibs.destinationDir) { into 'libraries' }
from(tasks.dumpCompileOnlyLibs.destinationDir) { into 'launcher-libraries-compile' }
from tasks.jar.archivePath from tasks.jar.archivePath
from(parent.childProjects.Launcher.tasks.dumpLibs) { into 'launcher-libraries' } from(parent.childProjects.Launcher.tasks.dumpLibs) { into 'launcher-libraries' }
} }
build.dependsOn tasks.dumpLibs, tasks.bundle build.dependsOn tasks.dumpLibs, tasks.dumpCompileOnlyLibs, tasks.bundle