-
-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Dependency implementation problem on fabric #49
Comments
This library is not dependent on any Minecraft version, so there should be no problem integrating it into any Minecraft version. Describe your issue with more detail. What does not work? |
Well, I noticed that the library does not get built within the mod unless the “implementation group:name:version” is changed to “include group:name:version”. Before it used to crash with the exception saying that the classes from the library are missing, but now with the “include” the classes that use the library just don’t work. |
The way you include the dependency in fabric differs from the regular java/gradle project setup. Thats why you need to use Recently I added the option to use MinecraftAuth without the JWT dependency (Which means you would only need to additionally include |
There seems to be a way to include transitive dependencies in fabric which is explained here: https://gist.github.com/jakobkmar/3c7e68ff57957d647a37ed568e5068c7 You need to pay special attention to exclude the dependencies which are already in Minecraft |
Well, apparently, it's all fixed by using: includeInternal 'net.raphimc:MinecraftAuth:4.1.1' Thanks , for the help! |
Interesting. Seems like loom has transitive include internally all along. I will pin the issue, so its easy to find |
Could you please provide the necessary dependencies for the fabric mod? Can’t get the library to work outside of IDE upon building the mod.
The text was updated successfully, but these errors were encountered: