Open kieran-lawrence opened 2 months ago
Hello!
When trying to build the project in IntelliJ I hit the following issue:
Could not find lwjgl-freetype-3.3.3-natives-macos-patch.jar (org.lwjgl:lwjgl-freetype:3.3.3). Searched in the following locations: https://repo.maven.apache.org/maven2/org/lwjgl/lwjgl-freetype/3.3.3/lwjgl-freetype-3.3.3-natives-macos-patch.jar
Looks like this was a temporary patch as the file is no longer available. Possible solution might be to update the gradle version.
If anyone else runs into this issue (guessing it's MacOS only by the filename 😜) I managed to get past it by adding the following to the root
build.gradle
subprojects { apply plugin: 'java' apply plugin: 'idea' apply plugin: 'java-library' 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/" } maven { url "https://jitpack.io" } } }
you does my man
This doesn't fix it for me (in my project, at least), but the weirdest thing is that this issue only shows up when building in intellij, not when i run ./gradlew build from the command line.
Hello!
When trying to build the project in IntelliJ I hit the following issue:
Looks like this was a temporary patch as the file is no longer available. Possible solution might be to update the gradle version.
If anyone else runs into this issue (guessing it's MacOS only by the filename 😜) I managed to get past it by adding the following to the root
build.gradle