You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The plugin is hardcoded to generate code to build/generated directory, but that is not what i want. I want it to go to a different directory and we actually commit the generated code in to git so we can see what has changed.
It is actually possible to change where it is generated by using something like:
But the one thing that doesn't cover is the setting up of srcDir to the sourceSet. I can do that set up myself and end up with a srcDir pointing at non-existent directory, but it seems it would be easy enough to add a property to the spec block that is the output directory that just defaults to its current location but can be changed.
In addition, it is not possible to disable the automatic configuration of srcDir. It is required to have a string for sourceSet and if that sourceSet does not exist the build fails. So perhaps make the sourceSet property nullable and if null skip the srcDir configuration.
The text was updated successfully, but these errors were encountered:
The plugin is hardcoded to generate code to build/generated directory, but that is not what i want. I want it to go to a different directory and we actually commit the generated code in to git so we can see what has changed.
It is actually possible to change where it is generated by using something like:
But the one thing that doesn't cover is the setting up of srcDir to the sourceSet. I can do that set up myself and end up with a srcDir pointing at non-existent directory, but it seems it would be easy enough to add a property to the spec block that is the output directory that just defaults to its current location but can be changed.
In addition, it is not possible to disable the automatic configuration of srcDir. It is required to have a string for sourceSet and if that sourceSet does not exist the build fails. So perhaps make the sourceSet property nullable and if null skip the srcDir configuration.
The text was updated successfully, but these errors were encountered: