Skip to content

Commit

Permalink
Copy the Forge jopt-simple version work-around from 1.20.5.
Browse files Browse the repository at this point in the history
  • Loading branch information
gniftygnome committed Jul 11, 2024
1 parent 1b513bc commit 4b6c330
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ configurations {
developmentForge.extendsFrom common
}

// Hack to force Forge-required version of jopt-simple (required since 1.20.5).
configurations.all {
resolutionStrategy {
force 'net.sf.jopt-simple:jopt-simple:5.0.4'
}
}

dependencies {
forge "net.minecraftforge:forge:${rootProject.forge_version}"
// Remove the next line if you don't want to depend on the API
Expand Down

0 comments on commit 4b6c330

Please sign in to comment.