Difficulty with compiling
MithicSpirit opened this issue ยท 2 comments
It seems like Modrinth integration is enabled by default when running ./gradle build
, which means that if I do not provide a TOKEN_MODRINTH
the project fails to build. I believe that a similar issue is also present with Curseforge, although the error from Modrinth triggers first and stops compilation entirely.
I believe that this can be fixed by either making the integration be a separate command (so it doesn't affect ./gradlew build
) or providing instructions on how to compile this project bypassing this. I used to have a patch I used for disabling Modrinth and Curseforge, but that was back for 1.19 and now that I've gotten around to updating to 1.20 the files have changed sufficiently that the patch no longer applies.
Very intentional, you are not supposed to be compiling if you do not know how to work with gradle. The process depends on running on my machine which is by design.
If you want to commit PRs or build on your end in general, you could just comment out the publishing sections of the buildscripts:
Lines 63 to 114 in ad5ffa4
CITResewn/defaults/build.gradle
Lines 65 to 83 in ad5ffa4
(ofc making sure not to commit the commented out parts)