[Bug?] Cannot compile mod from source - gradle: Could not find blank:magapi:1.0
loimabean opened this issue ยท 9 comments
Hello! This isn't exactly an issue with the mod, but more attempting to compile the mod myself. There is a dependency for the build called magapi
(I assume Magnesium API), but when attempting to build with ./gradlew build
, it fails. I cannot find this API anywhere on this page or your GitHub account. Is there anywhere where this file is publicly available, or a way to solve this issue?
P.S. sorry for making this a GitHub issue, it's not exactly the right spot. I couldn't find your Discord anywhere.
Wanted to build it myself seeing as 1.18.1 support was added in a recent commit but ran into the same issue.
Trying to comment it out results in various errors...
I found a solution to this problem (it's weird) : just download the latest version of the mod available on CurseForge, rename it to "magapi.jar" and create a folder in the source named "libs", then put "magapi.jar" in this libs folder, and the mod will be able to be built.
I found a solution to this problem (it's weird) : just download the latest version of the mod available on CurseForge, rename it to "magapi.jar" and create a folder in the source named "libs", then put "magapi.jar" in this libs folder, and the mod will be able to be built.
I did manage to build it, but neither jar generated launches without crashing
The one with "-all" works for me, but these builds are still totally broken, so a crash isn't surprising...
ping @Someone-Else-Was-Taken same issue
The one with "-all" works for me, but these builds are still totally broken, so a crash isn't surprising...
What do you mean by "-all" ? I'm also trying to compile this mod and have these issues.
My error:
With the magapi trick one error disappered, but seems like it's still missing something forge realted:
Wanted to build it myself seeing as 1.18.1 support was added in a recent commit but ran into the same issue.
Trying to comment it out results in various errors...
Check #24 for a workaround