Skip to content

Commit

Permalink
Fix ForgeGradle issue building on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
lucko committed Jun 9, 2024
1 parent c3aa0cd commit 49bc094
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,16 @@ subprojects {
}

repositories {
// Fix issue with lwjgl-freetype not being found on macOS / ForgeGradle issue
//
// Could not resolve all files for configuration ':_compileJava_1'.
// Could not find lwjgl-freetype-3.3.3-natives-macos-patch.jar (org.lwjgl:lwjgl-freetype:3.3.3).
maven {
url "https://libraries.minecraft.net"
content {
includeModule("org.lwjgl", "lwjgl-freetype")
}
}
mavenCentral()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
maven { url "https://repo.lucko.me/" }
Expand Down
2 changes: 1 addition & 1 deletion spark-forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ configurations {
}

dependencies {
minecraft 'net.minecraftforge:forge:1.20.6-50.0.6'
minecraft 'net.minecraftforge:forge:1.20.6-50.1.3'
shade project(':spark-common')
}

Expand Down

0 comments on commit 49bc094

Please sign in to comment.