Caleb Cushing
02/21/2025, 8:23 PM:classes is the closest I can think of that is basically run no-matter what I do, but even that's not really true is it. Ideally intellij would trigger it too if it had its projects refreshedAlex Landau
02/21/2025, 9:26 PMsettings.gradle or root build.gradle, you can take the `startParameter`/`gradle.startParameter` object and change the set of tasks that were requested to include your task. This is effectively like making it so users always add the task name to their commands, which sounds like the behavior you're looking for. (I'm not sure if IntelliJ's import would also run that, but it feels plausible.)
This trick has a known bug if you're using the configuration-on-demand feature, but most projects don't.Caleb Cushing
02/21/2025, 9:33 PMVampire
02/21/2025, 9:53 PM