louiscad
01/02/2023, 10:01 AMCalculating task graph as configuration cache cannot be reused because content of 2nd init script, '../../../../../private/var/folders/yk/qprymb3x2yx5q0htfc4f12740000gn/T/ijresolvers.gradle', has changed.
Does it speak to anyone?wasyl
01/02/2023, 10:14 AMwasyl
01/02/2023, 10:14 AMwasyl
01/02/2023, 10:15 AMAdam S
01/02/2023, 12:42 PMwasyl
01/02/2023, 12:48 PMall test always re-run, even if no files have changedArguably that’s what I’d expect from the IDE — if I run tests, I expect them to actually run and not report success because they did that at some point in the past
Adam S
01/02/2023, 12:49 PMwasyl
01/02/2023, 12:50 PMAdam S
01/02/2023, 12:51 PM./gradlew test
, all tests pass.
• I change a file in subproject-alpha
On the command line ./gradlew test
, only tests in subproject-alpha will re-run. In IntelliJ, all tests will re-runAdam S
01/02/2023, 12:53 PM./gradlew jacocoAggregation
.
On the command line, no tests will run. In IJ, all tests will run, even if nothing has changed.
It makes Gradle behave worse than its bestwasyl
01/02/2023, 12:54 PMAdam S
01/02/2023, 1:01 PM--rerun
https://docs.gradle.org/7.6/userguide/command_line_interface.html#sec:builtin_task_options
It’s also useful feedback if you were to try to run a test in IJ, and the report says “nothing changed”. At the moment, that’s not possible.louiscad
01/02/2023, 1:03 PMAdam S
01/02/2023, 1:03 PM