mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 03:31:15 +03:00
[FIX] Build fix
This commit is contained in:
parent
80153458be
commit
96b521184f
6 changed files with 20 additions and 20 deletions
|
@ -50,17 +50,17 @@
|
|||
}
|
||||
}
|
||||
|
||||
tasks.register('sourcesJar') {
|
||||
tasks.register('sourcesJar', Jar.class) {
|
||||
from sourceSets.main.allJava
|
||||
archiveClassifier.set('sources')
|
||||
}
|
||||
|
||||
tasks.register('javadocJar') {
|
||||
tasks.register('javadocJar', Jar.class) {
|
||||
from javadoc
|
||||
archiveClassifier.set('javadoc')
|
||||
}
|
||||
|
||||
tasks.register('cleanjar') {
|
||||
tasks.register('cleanjar', Jar.class) {
|
||||
archiveClassifier.set('clean')
|
||||
manifest.attributes("Main-Class": mainClassName,
|
||||
"Premain-Class": mainAgentName,
|
||||
|
@ -117,13 +117,13 @@ pack project(':LauncherAPI')
|
|||
compileOnlyA 'org.apache.logging.log4j:log4j-core:2.14.1'
|
||||
}
|
||||
|
||||
tasks.register('hikari') {
|
||||
tasks.register('hikari', Copy.class) {
|
||||
duplicatesStrategy = 'EXCLUDE'
|
||||
into "$buildDir/libs/libraries/hikaricp"
|
||||
from configurations.hikari
|
||||
}
|
||||
|
||||
tasks.register('launch4j') {
|
||||
tasks.register('launch4j', Copy.class) {
|
||||
duplicatesStrategy = 'EXCLUDE'
|
||||
into "$buildDir/libs/libraries/launch4j"
|
||||
from(configurations.launch4j.collect {
|
||||
|
@ -141,20 +141,20 @@ pack project(':LauncherAPI')
|
|||
}
|
||||
}
|
||||
|
||||
tasks.register('dumpLibs') {
|
||||
tasks.register('dumpLibs', Copy.class) {
|
||||
duplicatesStrategy = 'EXCLUDE'
|
||||
dependsOn tasks.hikari, tasks.launch4j
|
||||
into "$buildDir/libs/libraries"
|
||||
from configurations.bundleOnly
|
||||
}
|
||||
|
||||
tasks.register('dumpCompileOnlyLibs') {
|
||||
tasks.register('dumpCompileOnlyLibs', Copy.class) {
|
||||
duplicatesStrategy = 'EXCLUDE'
|
||||
into "$buildDir/libs/launcher-libraries-compile"
|
||||
from configurations.compileOnlyA
|
||||
}
|
||||
|
||||
tasks.register('bundle') {
|
||||
tasks.register('bundle', Zip.class) {
|
||||
duplicatesStrategy = 'EXCLUDE'
|
||||
dependsOn parent.childProjects.Launcher.tasks.build, tasks.dumpLibs, tasks.dumpCompileOnlyLibs, tasks.jar
|
||||
archiveFileName = 'LaunchServer.zip'
|
||||
|
@ -165,7 +165,7 @@ pack project(':LauncherAPI')
|
|||
from(parent.childProjects.Launcher.tasks.dumpLibs) { into 'launcher-libraries' }
|
||||
}
|
||||
|
||||
tasks.register('dumpClientLibs') {
|
||||
tasks.register('dumpClientLibs', Copy.class) {
|
||||
dependsOn parent.childProjects.Launcher.tasks.build
|
||||
into "$buildDir/libs/launcher-libraries"
|
||||
from parent.childProjects.Launcher.tasks.dumpLibs
|
||||
|
|
|
@ -29,12 +29,12 @@
|
|||
"Multi-Release": "true")
|
||||
}
|
||||
|
||||
tasks.register('sourcesJar') {
|
||||
tasks.register('sourcesJar', Jar.class) {
|
||||
from sourceSets.main.allJava
|
||||
archiveClassifier.set('sources')
|
||||
}
|
||||
|
||||
tasks.register('javadocJar') {
|
||||
tasks.register('javadocJar', Jar.class) {
|
||||
from javadoc
|
||||
archiveClassifier.set('javadoc')
|
||||
}
|
||||
|
@ -53,14 +53,14 @@ pack project(':LauncherAPI')
|
|||
pack group: 'io.netty', name: 'netty-codec-http', version: rootProject['verNetty']
|
||||
}
|
||||
|
||||
tasks.register('genRuntimeJS') {
|
||||
tasks.register('genRuntimeJS', Zip.class) {
|
||||
duplicatesStrategy = 'EXCLUDE'
|
||||
archiveFileName = "runtime.zip"
|
||||
destinationDirectory = file("${buildDir}/tmp")
|
||||
from "runtime/"
|
||||
}
|
||||
|
||||
tasks.register('dumpLibs') {
|
||||
tasks.register('dumpLibs', Copy.class) {
|
||||
duplicatesStrategy = 'EXCLUDE'
|
||||
into "$buildDir/libs/libraries"
|
||||
from configurations.bundle
|
||||
|
|
|
@ -21,12 +21,12 @@ api project(':LauncherCore')
|
|||
archiveClassifier.set('clean')
|
||||
}
|
||||
|
||||
tasks.register('sourcesJar') {
|
||||
tasks.register('sourcesJar', Jar.class) {
|
||||
from sourceSets.main.allJava
|
||||
archiveClassifier.set('sources')
|
||||
}
|
||||
|
||||
tasks.register('javadocJar') {
|
||||
tasks.register('javadocJar', Jar.class) {
|
||||
from javadoc
|
||||
archiveClassifier.set('javadoc')
|
||||
}
|
||||
|
|
|
@ -27,12 +27,12 @@
|
|||
archiveClassifier.set('clean')
|
||||
}
|
||||
|
||||
tasks.register('sourcesJar') {
|
||||
tasks.register('sourcesJar', Jar.class) {
|
||||
from sourceSets.main.allJava
|
||||
archiveClassifier.set('sources')
|
||||
}
|
||||
|
||||
tasks.register('javadocJar') {
|
||||
tasks.register('javadocJar', Jar.class) {
|
||||
from javadoc
|
||||
archiveClassifier.set('javadoc')
|
||||
}
|
||||
|
|
|
@ -30,12 +30,12 @@
|
|||
"Multi-Release": "true")
|
||||
}
|
||||
|
||||
tasks.register('sourcesJar') {
|
||||
tasks.register('sourcesJar', Jar.class) {
|
||||
from sourceSets.main.allJava
|
||||
archiveClassifier.set('sources')
|
||||
}
|
||||
|
||||
tasks.register('javadocJar') {
|
||||
tasks.register('javadocJar', Jar.class) {
|
||||
from javadoc
|
||||
archiveClassifier.set('javadoc')
|
||||
}
|
||||
|
|
2
modules
2
modules
|
@ -1 +1 @@
|
|||
Subproject commit d8687992cd5e14b01fb9dc3c20e48796065183c6
|
||||
Subproject commit 142f71ae1b23a1eefe85a7b95d89e685bb50551e
|
Loading…
Reference in a new issue