mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-27 20:58:40 +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 {
|
||||
id "com.github.johnrengelman.shadow" version "2.0.4"
|
||||
id "com.github.johnrengelman.shadow" version "7.1.0"
|
||||
id 'java'
|
||||
id 'maven-publish'
|
||||
}
|
||||
|
@ -33,8 +33,9 @@ project.archivesBaseName = "${project.archivesBaseName}-forge-1.18"
|
||||
dependencies {
|
||||
implementation project(path: ":DynmapCore", configuration: "shadow")
|
||||
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
|
||||
@ -51,7 +52,10 @@ processResources
|
||||
shadowJar {
|
||||
dependencies {
|
||||
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"
|
||||
destinationDir = file '../target'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user