File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,6 @@ dependencies {
7777
7878 compileOnly(" cc.polyfrost:oneconfig-1.8.9-forge:0.2.1-alpha+" )
7979 shadowImpl(" cc.polyfrost:oneconfig-wrapper-launchwrapper:1.0.0-beta+" )
80- shadowImpl(" com.google.guava:guava:23.0" )
8180
8281 compileOnly(" org.spongepowered:mixin:0.8.5" )
8382 annotationProcessor(" org.spongepowered:mixin:0.8.5" )
@@ -151,17 +150,15 @@ tasks.shadowJar {
151150 destinationDirectory.set(layout.buildDirectory.dir(" badjars" ))
152151 archiveClassifier.set(" all-dev" )
153152 configurations = listOf (shadowImpl)
154-
155- relocate(" com.google.common" , " $baseGroup .deps.google.common" )
156-
157153 doLast {
158154 configurations.forEach {
159155 println (" Copying jars into mod: ${it.files} " )
160156 }
161157 }
162158
163- // Keep your helper function
159+ // If you want to include other dependencies and shadow them, you can relocate them in here
164160 fun relocate (name : String ) = relocate(name, " $baseGroup .deps.$name " )
165161}
166162
167163tasks.assemble.get().dependsOn(tasks.remapJar)
164+
You can’t perform that action at this time.
0 commit comments