Skip to content

Commit

Permalink
Make netty-codec-http not transitive
Browse files Browse the repository at this point in the history
These dependencies are already included by Minecraft.
  • Loading branch information
Gegy committed Jul 22, 2023
1 parent 13480db commit f9aac61
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ plugins {
id 'org.parchmentmc.librarian.forgegradle' version '1.+'
id 'org.spongepowered.mixin' version '0.7+'
id 'org.ajoberstar.grgit' version '3.1.1'

}

jarJar.enable()
Expand All @@ -21,9 +20,6 @@ repositories {
maven { url 'https://maven.tterrag.com/' }
}


apply plugin: 'net.minecraftforge.gradle'

test {
useJUnitPlatform()
}
Expand Down Expand Up @@ -63,8 +59,9 @@ minecraft {
dependencies {
minecraft "net.minecraftforge:forge:1.20.1-47.1.3"

jarJar(implementation(fg.deobf('io.netty:netty-codec-http:4.1.77.Final'))) {
jarJar(minecraftLibrary(fg.deobf('io.netty:netty-codec-http:4.1.77.Final'))) {
jarJar.ranged(it, "[4.1.77.Final,5)")
transitive = false
}

implementation("cpw.mods:modlauncher:9.0.7")
Expand Down

0 comments on commit f9aac61

Please sign in to comment.