You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
* What went wrong:
A problem was found with the configuration of task ':plugin:compileJava' (type 'JavaCompile').
- Gradle detected a problem with the following location: '/home/leegod/Documents/ideaProjects/raytraced-antixray-bukkit-plugin/nms/modern/build/classes/java/main'.
Reason: Task ':plugin:compileJava' uses this output of task ':nms:modern:remapAnnotations' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
Possible solutions:
1. Declare task ':nms:modern:remapAnnotations' as an input of ':plugin:compileJava'.
2. Declare an explicit dependency on ':nms:modern:remapAnnotations' from ':plugin:compileJava' using Task#dependsOn.
3. Declare an explicit dependency on ':nms:modern:remapAnnotations' from ':plugin:compileJava' using Task#mustRunAfter.
For more information, please refer to https://docs.gradle.org/8.6/userguide/validation_problems.html#implicit_dependency in the Gradle documentation.
The text was updated successfully, but these errors were encountered:
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
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
The text was updated successfully, but these errors were encountered: