mbeddr / mps-gradle-plugin

Miscellaneous tasks that were found useful when building MPS-based projects with Gradle.
Other
14 stars 15 forks source link

[breaking] MPS task interface #159

Open sergej-koscejev opened 5 months ago

sergej-koscejev commented 5 months ago

Changed

Deprecated

sergej-koscejev commented 5 months ago

I created a PR instead of pushing the change to v1.x right away because it's potentially breaking and I would like to gather some opinions on it in case I'm unknowingly making a big mistake.

sergej-koscejev commented 5 months ago

Having a common interface makes it easier to configure the common properties for all tasks that launch MPS (migrations, generation, model checking, etc.) using tasks.withType(MpsTask).configureEach { ... }.

sergej-koscejev commented 2 months ago

I have a different idea now, I think we should introduce MpsForkOptions interface for these tasks, similar to JavaForkOptions (and probably extending it).