Open LeeGodSRC opened 2 months ago
Strangely the solution for this was already applied here:
So it should just work. Is something special about your configuration that it might not match logic? Im not a big expert on gradle things
The way Ive used it is: https://github.com/bergerhealer/BKCommonLib/blob/master/build.gradle.kts#L144
And this hasnt given me issues yet
mountiplex {
remapAnnotationStrings()
}
If doing ^ doesnt fix it, maybe you can create a minimum reproducing example so I can test it myself?
I will try to recreate a reproducing example, but I figured a way to solve it. You need to manually specify task dependency in the project for example:
:nms:modern
is the project that contains mountiplex, and you will need to do
named("compileJava") {
mustRunAfter(":nms:modern:remapAnnotations")
}
So I have a multi-module project structured like this: plugin -> nms (mountiplex)
And on the first attempt of building, it always throw this exception