mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-12-17 22:28:15 +01:00
Update shadow, add commons-codec to shaded uber for forge
This commit is contained in:
parent
76557bf312
commit
e6cfaad851
@ -1,5 +1,5 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id "com.github.johnrengelman.shadow" version "2.0.4"
|
id "com.github.johnrengelman.shadow" version "7.1.0"
|
||||||
id 'java'
|
id 'java'
|
||||||
id 'maven-publish'
|
id 'maven-publish'
|
||||||
}
|
}
|
||||||
|
@ -33,8 +33,9 @@ project.archivesBaseName = "${project.archivesBaseName}-forge-1.18"
|
|||||||
dependencies {
|
dependencies {
|
||||||
implementation project(path: ":DynmapCore", configuration: "shadow")
|
implementation project(path: ":DynmapCore", configuration: "shadow")
|
||||||
implementation project(path: ':DynmapCoreAPI')
|
implementation project(path: ':DynmapCoreAPI')
|
||||||
|
implementation "commons-codec:commons-codec:1.15"
|
||||||
|
|
||||||
minecraft 'net.minecraftforge:forge:1.18-38.0.8'
|
minecraft 'net.minecraftforge:forge:1.18-38.0.12'
|
||||||
}
|
}
|
||||||
|
|
||||||
processResources
|
processResources
|
||||||
@ -51,7 +52,10 @@ processResources
|
|||||||
shadowJar {
|
shadowJar {
|
||||||
dependencies {
|
dependencies {
|
||||||
include(dependency(':DynmapCore'))
|
include(dependency(':DynmapCore'))
|
||||||
|
include(dependency("commons-codec:commons-codec:"))
|
||||||
}
|
}
|
||||||
|
relocate('org.apache.commons.codec', 'org.dynmap.forge_1_18.commons.codec')
|
||||||
|
|
||||||
archiveName = "Dynmap-${parent.version}-forge-1.18.jar"
|
archiveName = "Dynmap-${parent.version}-forge-1.18.jar"
|
||||||
destinationDir = file '../target'
|
destinationDir = file '../target'
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user