[FIX] Фиксы сборки ч. 2.

This commit is contained in:
Zaxar163 2020-03-01 10:51:12 +01:00
parent 1131f56e57
commit 233e28a08a
No known key found for this signature in database
GPG key ID: 1FE4F2E1F053831B
3 changed files with 4 additions and 5 deletions

View file

@ -169,8 +169,8 @@ task dumpCompileOnlyLibs(type: Copy) {
task bundle(type: Zip) { task bundle(type: Zip) {
duplicatesStrategy = 'EXCLUDE' duplicatesStrategy = 'EXCLUDE'
dependsOn parent.childProjects.Launcher.tasks.build, tasks.dumpLibs, tasks.dumpCompileOnlyLibs, tasks.jar dependsOn parent.childProjects.Launcher.tasks.build, tasks.dumpLibs, tasks.dumpCompileOnlyLibs, tasks.jar
archiveName 'LaunchServer.zip' archiveFileName = 'LaunchServer.zip'
destinationDir file("$buildDir") destinationDirectory = file("$buildDir")
from(tasks.dumpLibs.destinationDir) { into 'libraries' } from(tasks.dumpLibs.destinationDir) { into 'libraries' }
from(tasks.dumpCompileOnlyLibs.destinationDir) { into 'launcher-libraries-compile' } from(tasks.dumpCompileOnlyLibs.destinationDir) { into 'launcher-libraries-compile' }
from tasks.jar.archivePath from tasks.jar.archivePath

View file

@ -60,8 +60,8 @@ pack project(':LauncherAPI')
task genRuntimeJS(type: Zip) { task genRuntimeJS(type: Zip) {
duplicatesStrategy = 'EXCLUDE' duplicatesStrategy = 'EXCLUDE'
archiveName = "runtime.zip" archiveFileName = "runtime.zip"
destinationDir = file("${buildDir}/tmp") destinationDirectory = file("${buildDir}/tmp")
from "runtime/" from "runtime/"
} }

View file

@ -30,7 +30,6 @@
eclipse { eclipse {
classpath { classpath {
plusConfigurations += [ configurations.compileOnly ]
downloadSources = true downloadSources = true
downloadJavadoc = true downloadJavadoc = true
} }