mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2025-07-04 00:45:57 +00:00
shade ioutils in terrascript addon
This commit is contained in:
parent
7becdf7f64
commit
a15c5f2cca
@ -1,3 +1,18 @@
|
|||||||
|
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
|
||||||
|
|
||||||
|
plugins {
|
||||||
|
id("com.github.johnrengelman.shadow")
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
"shadedApi"("commons-io:commons-io:2.6")
|
"shadedApi"("commons-io:commons-io:2.6")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.named<ShadowJar>("shadowJar") {
|
||||||
|
archiveClassifier.set("")
|
||||||
|
relocate("org.apache.commons", "com.dfsek.terra.addons.terrascript.lib.commons")
|
||||||
|
}
|
||||||
|
|
||||||
|
tasks.named("build") {
|
||||||
|
finalizedBy(tasks.named("shadowJar"))
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user