3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-19 09:20:08 +01:00
FastAsyncWorldEdit/worldedit-cli/build.gradle.kts

Revisionen in .git-blame-ignore-revs werden ignoriert. Klicke hier, um das zu umgehen und die normale Blame-Ansicht zu sehen.

40 Zeilen
973 B
Plaintext

import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
2020-08-14 21:29:15 +02:00
plugins {
`java-library`
}
applyPlatformAndCoreConfiguration()
applyShadowConfiguration()
dependencies {
2020-08-14 21:29:15 +02:00
"api"(project(":worldedit-core"))
"implementation"("org.apache.logging.log4j:log4j-core:2.8.1")
"implementation"("org.apache.logging.log4j:log4j-slf4j-impl:2.8.1")
"implementation"("commons-cli:commons-cli:1.4")
2021-01-21 13:07:17 +01:00
"implementation"("com.google.guava:guava:21.0")
"implementation"("com.google.code.gson:gson:2.8.6")
}
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")
}