Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-09-06 16:12:51 +02:00
34 Zeilen
816 B
Plaintext
34 Zeilen
816 B
Plaintext
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
|
|
|
|
applyPlatformAndCoreConfiguration()
|
|
applyShadowConfiguration()
|
|
|
|
dependencies {
|
|
"compile"(project(":worldedit-core"))
|
|
"compile"("org.apache.logging.log4j:log4j-core:2.8.1")
|
|
"compile"("org.apache.logging.log4j:log4j-slf4j-impl:2.8.1")
|
|
"compile"("commons-cli:commons-cli:1.4")
|
|
}
|
|
|
|
tasks.named<Jar>("jar") {
|
|
manifest {
|
|
attributes(
|
|
"Implementation-Version" to project.version,
|
|
"Main-Class" to "com.sk89q.worldedit.cli.CLIWorldEdit"
|
|
)
|
|
}
|
|
}
|
|
|
|
tasks.named<ShadowJar>("shadowJar") {
|
|
dependencies {
|
|
include { true }
|
|
}
|
|
minimize {
|
|
exclude(dependency("org.apache.logging.log4j:log4j-core"))
|
|
}
|
|
}
|
|
|
|
tasks.named("assemble").configure {
|
|
dependsOn("shadowJar")
|
|
}
|