Skip to content

Commit

Permalink
fix: Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
null2264 committed Oct 24, 2024
1 parent 1f53bb4 commit 3eba860
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -214,13 +214,10 @@ dependencies {
12001 to "12.0.625",
12002 to "13.0.685",
12005 to "15.0.728",
12100 to "16.0.783",
12100 to "16.0.777",
12102 to null,
)
val reiFallback = "16.0.783"
if (mcVersion >= 12100) {
modCompileOnly("me.shedaniel:RoughlyEnoughItems-api:${reiVersions[mcVersion] ?: reiFallback}")
}
val reiFallback = "16.0.777"
// Use the full package instead of 'api-' for (neo)forge, since the 'api-' didn't include @REIPlugin*
modCompileOnly("me.shedaniel:RoughlyEnoughItems-${if (isFabric) "api-fabric" else if (!isNeo) "forge" else "neoforge"}:${reiVersions[mcVersion] ?: reiFallback}")
if (mcVersion >= 12002) { // FIXME: Not sure why it's not included
Expand Down

0 comments on commit 3eba860

Please sign in to comment.