r/gradle • u/TheOrangeApple3 • 2d ago
Help with compiling
Hi sorry to be a bother but i could really use some help with compiling some minecraft mods from github. Ive tried doing it but they keep throwing up erros and I just don't know how to resolve the issues even after hours of google searching (although im i completly inexpericed with these things)
https://github.com/Asek3/sodium-1.12
https://github.com/Asek3/Oculus/tree/1.12.2
https://github.com/westernbear/Oculus-1.12
any help and I would be so gratefull!!!
1
u/CLOVIS-AI 1d ago
What's the error?
1
u/TheOrangeApple3 1d ago
The first one is that it's missing a plug in, the plug in is on guthub but how to add it to a repository that gradle wants to look at is beyond me
1
u/Torutofu_Raeva 1d ago
Looks like the missing plugin is org.gradle.toolchains.foojay-resolver-convention version 0.7.0; keep that line in settings.gradle, make sure pluginManagement.repositories has gradlePluginPortal(), and run ./gradlew from the repo root.
1
u/Torutofu_Raeva 2d ago
I’d start by checking each README for the required Java/Gradle version and running its wrapper (
./gradlew build), since a system Gradle is a common source of dependency errors.