Karlo Lozovina
02/03/2022, 4:37 PMtasks { test { jvmArgs = ...}} vs. tasks { withType<Test> { jvmArgs = ...} ? It seems to work identically, but is one way better than the other?Fleshgrinder
02/03/2022, 5:13 PMnamed underneath) and afaik the second is eager. Another difference is that the first only sets the JVM arguments for the :test task whereas the second sets it for every task that extends the Test task class (e.g. if you have :test and :testIntegration).Vampire
02/03/2022, 5:29 PMwithType<Test>().configureEach { ... } instead. Then the remaining difference is configuring all tasks of type Test vs. only the test task as Richard said.Joffrey
02/04/2022, 2:47 PMtest task might not be available as a DSL accessor like this.Vampire
02/04/2022, 2:50 PM