Skip to content

Commit 2deadc0

Browse files
authored
Merge pull request #282 from mqtze/fix/guava
Revert "added google guava"
2 parents 250d048 + 449a12e commit 2deadc0

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

build.gradle.kts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff 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

167163
tasks.assemble.get().dependsOn(tasks.remapJar)
164+

0 commit comments

Comments
 (0)