3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-20 01:40:06 +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.

35 Zeilen
969 B
Plaintext

import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
2020-08-14 21:29:15 +02:00
plugins {
`java-library`
}
applyPlatformAndCoreConfiguration()
applyShadowConfiguration()
addJarManifest(WorldEditKind.Standalone("com.sk89q.worldedit.cli.CLIWorldEdit"))
dependencies {
2020-08-14 21:29:15 +02:00
"api"(project(":worldedit-core"))
"implementation"(platform("org.apache.logging.log4j:log4j-bom:2.14.0"))
"implementation"("org.apache.logging.log4j:log4j-core")
"implementation"("org.apache.logging.log4j:log4j-slf4j-impl")
2020-08-14 21:29:15 +02:00
"implementation"("commons-cli:commons-cli:1.4")
"implementation"("com.google.guava:guava")
"implementation"("com.google.code.gson:gson")
}
tasks.named<ShadowJar>("shadowJar") {
dependencies {
include { true }
}
2021-03-26 21:21:45 +01:00
archiveFileName.set("FastAsyncWorldEdit-CLI-${project.version}.jar")
minimize {
exclude(dependency("org.apache.logging.log4j:log4j-core"))
}
}
tasks.named("assemble").configure {
dependsOn("shadowJar")
}