mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 03:31:15 +03:00
[FIX] Чистый jar лаунчсервер`а.
This commit is contained in:
parent
0d8fb149fb
commit
7c0cf17da3
1 changed files with 14 additions and 1 deletions
|
@ -40,6 +40,19 @@
|
|||
)
|
||||
}
|
||||
|
||||
|
||||
task clean(type: Jar, dependsOn: jar) {
|
||||
classifier = 'clean'
|
||||
manifest.attributes("Main-Class": mainClassName,
|
||||
"Premain-Class": mainAgentName,
|
||||
"Can-Redefine-Classes": "true",
|
||||
"Can-Retransform-Classes": "true",
|
||||
"Can-Set-Native-Method-Prefix": "true"
|
||||
)
|
||||
from sourceSets.main.output
|
||||
}
|
||||
|
||||
|
||||
dependencies {
|
||||
pack project(':LauncherAPI')
|
||||
bundle 'org.ow2.asm:asm-commons:7.1'
|
||||
|
@ -146,4 +159,4 @@ task dumpClientLibs(type: Copy) {
|
|||
from parent.childProjects.Launcher.tasks.dumpLibs.destinationDir
|
||||
}
|
||||
|
||||
build.dependsOn tasks.dumpLibs, tasks.dumpCompileOnlyLibs, tasks.dumpClientLibs, tasks.bundle
|
||||
build.dependsOn tasks.dumpLibs, tasks.dumpCompileOnlyLibs, tasks.dumpClientLibs, tasks.bundle, tasks.clean
|
||||
|
|
Loading…
Reference in a new issue