Slackbot
03/10/2022, 5:35 PMLouis Jacomet
03/10/2022, 5:39 PMA:jar runs after A:test and is required by B:test
We are looking into changing that in Gradle 7.5 by saying that test shouldRunAfter jar.Jason Kolovsky
03/10/2022, 5:48 PMVampire
03/10/2022, 6:18 PMjar task separately in a Gradle run before then. Or B:test is pretty meaningless if it works with an outdated JAR, or can even fail if the JAR is not present and due to the exclusion also is not created.tomas-mrkvicka
03/11/2022, 6:18 AMVampire
03/11/2022, 9:01 AMtomas-mrkvicka
03/11/2022, 9:10 AMVampire
03/11/2022, 11:45 AMjar task,
it influences the normalization of runtime classpath inputs of tasks using the result of the jar task, so that for example a test task does not need to run again just because the version in a properties file changed that is not relevant for testing and similar things
3. and even if it would influence the jar task up-to-date check - which it does not -, the B:test task would still need to wait until the jar task finished to see that it is up-to-date.tomas-mrkvicka
03/11/2022, 1:41 PM