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
The following error occurs when trying to build a multi-module project that uses paperweight-userdev v2.0.0-beta.8:
A problem was found with the configuration of task ':moduleB:compileJava' (type 'JavaCompile').
- Gradle detected a problem with the following location: 'C:\Users\user\.gradle\caches\paperweight-userdev\613081b689735a1c6be92857491be1a4773c6b9c71a65baf922ee4f718c54ed2\module\io.papermc.paper\dev-bundle\1.21.4-R0.1-SNAPSHOT\paperweight\setupCache\patchedSources.jar'.
Reason: Task ':moduleB:compileJava' uses this output of task ':moduleA:paperweightUserdevSetup' 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 ':moduleA:paperweightUserdevSetup' as an input of ':moduleB:compileJava'.
2. Declare an explicit dependency on ':moduleA:paperweightUserdevSetup' from ':moduleB:compileJava' using Task#dependsOn.
3. Declare an explicit dependency on ':moduleA:paperweightUserdevSetup' from ':moduleB:compileJava' using Task#mustRunAfter.
This issue does not occur when using userdev v1.
This also occurs on 2.0.0-SNAPSHOT.
Interestingly, this also happens when shared caches are disabled via -Ppaperweight.sharedCaches=false (Though I am not sure whether that disables shared caches entirely or just the machine-wide one)
The text was updated successfully, but these errors were encountered:
The following error occurs when trying to build a multi-module project that uses paperweight-userdev v2.0.0-beta.8:
I have created a sample repository to reproduce this issue here: https://github.com/NichtStudioCode/paperweight-userdev2-multimodule (Run
gradle build
)This issue does not occur when using userdev v1.
This also occurs on
2.0.0-SNAPSHOT
.Interestingly, this also happens when shared caches are disabled via
-Ppaperweight.sharedCaches=false
(Though I am not sure whether that disables shared caches entirely or just the machine-wide one)The text was updated successfully, but these errors were encountered: