Hi, I’m the developer of Stonecutter plugin - a preprocessor plugin for jvm languages.
TL;DR on it’s functionality: it creates a set of subprojects for each possible state of the shared source code. During build, the shared source is processed with individual parameters for each subproject, and compiled as generated sources.
This workflow essentially has a central build script that “orchestrates” those subprojects and provides data for their own build scripts. With this in mind, Isolated Projects pose a problem of the controller build script with the plugin applied not being able to pass on data to its children.
Would it be possible to accomplish this with project isolation? I.e. to guarantee that the controller script runs before children, and that the data it provides is immutable. Or would it need to disable isolation in future Gradle releases to continue working?
1 Like