Using me.champeau.jmh@0.6.5 and gradle@7.2-rc-1 and scala plugin, when executing compileJmhScala - Gradle warns about using outputs from tasks which are not declared as dependencies (processTestResources, compileJava, compileScala).
> Task :A:compileJmhScala
Execution optimizations have been disabled for task ':A:compileJmhScala' to ensure correctness due to the following reasons:
- Gradle detected a problem with the following location: '~/A/build/resources/test'. Reason: Task ':A:compileJmhScala' uses this output of task ':A:processTestResources' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.2-rc-1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '~/B/build/classes/java/main'. Reason: Task ':A:compileJmhScala' uses this output of task ':B:compileJava' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.2-rc-1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
- Gradle detected a problem with the following location: '~/B/build/classes/scala/main'. Reason: Task ':A:compileJmhScala' uses this output of task ':B:compileScala' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.2-rc-1/userguide/validation_problems.html#implicit_dependency for more details about this problem.
Using
me.champeau.jmh@0.6.5
andgradle@7.2-rc-1
and scala plugin, when executingcompileJmhScala
- Gradle warns about using outputs from tasks which are not declared as dependencies (processTestResources
,compileJava
,compileScala
).