Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modCompileOnly tries to load mod into testmod #204

Open
LLytho opened this issue Apr 8, 2024 · 0 comments
Open

modCompileOnly tries to load mod into testmod #204

LLytho opened this issue Apr 8, 2024 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@LLytho
Copy link

LLytho commented Apr 8, 2024

I have modCompileOnly("me.shedaniel:RoughlyEnoughItems-api-neoforge:$reiVersion") in my neoforge gradle. When I start the normal client run, everything works fine but when I start the testmod run, which runs the test sourceset and the main sourceset it seems to try to load the API as mod. I tried other dependencies and they are also loaded.
I also tried the same on fabric which has the same behavior.

https://github.com/AlmostReliable/almostunified/blob/1.20.4/build.gradle.kts#L219-L237
This is how the test runs are generated, nothing special.
So not really sure if thats a bug or I'm just missing something.

Thats the error when running the testmod:
grafik

@Juuxel Juuxel added this to the 1.9 milestone Dec 7, 2024
@Juuxel Juuxel added the bug Something isn't working label Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants