mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2025-07-20 11:32:33 +00:00
23 lines
528 B
Plaintext
23 lines
528 B
Plaintext
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
|
|
import com.dfsek.terra.version
|
|
|
|
version = version("0.1.0")
|
|
|
|
|
|
plugins {
|
|
id("com.github.johnrengelman.shadow")
|
|
}
|
|
|
|
dependencies {
|
|
shadedApi("commons-io:commons-io:2.6")
|
|
shadedApi(project(":common:addons:manifest-addon-loader"))
|
|
}
|
|
|
|
tasks.named<ShadowJar>("shadowJar") {
|
|
archiveClassifier.set("")
|
|
relocate("org.apache.commons", "com.dfsek.terra.addons.terrascript.lib.commons")
|
|
}
|
|
|
|
tasks.named("build") {
|
|
finalizedBy(tasks.named("shadowJar"))
|
|
} |