I was trying to execute ./gradlew jpackage jlinkZip, but gradle massively complained:
* What went wrong:
A problem was found with the configuration of task ':jpackageImage' (type 'JPackageImageTask').
- Gradle detected a problem with the following location: '/home/runner/work/jabref/jabref/build/image'.
Reason: Task ':jlinkZip' uses this output of task ':jpackageImage' 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 ':jpackageImage' as an input of ':jlinkZip'.
2. Declare an explicit dependency on ':jpackageImage' from ':jlinkZip' using Task#dependsOn.
3. Declare an explicit dependency on ':jpackageImage' from ':jlinkZip' using Task#mustRunAfter.
I was trying to execute
./gradlew jpackage jlinkZip
, but gradle massively complained:I solved it with
in my build.gradle.