JetBrains / gradle-idea-ext-plugin

Plugin to store IJ settings in gradle script
Apache License 2.0
232 stars 39 forks source link

Allow all run configurations to specify BeforeRun actions. #130

Open covers1624 opened 2 years ago

covers1624 commented 2 years ago

Allows specifying BeforeRun actions for any run configuration.

This is already supported by the layout importer inside IJ for any run configuration it processes.

Unfortunately, this has some minor binary breaks for custom implementations of BaseRunConfiguration or children, as Project needs to be passed through. This can be changed to preserve binary compatibility if required.

Please let me know if any of the unit tests should be further expanded to test these changes, however, given the current coverage I don't think is necessary.