- The
generateScenarioSource task fails if src/gen/java exists and src/main/scenarios does not exist.
- The
generateTestScenarioSource task fails if src/testGen/java exists and src/test/scenarios does not exist.
Output
> Task :generateScenarioSource FAILED
FAILURE: Build failed with an exception.
* What went wrong:
A problem was found with the configuration of task ':generateScenarioSource' (type 'ScenariosTask').
> Directory '.../src/main/scenarios' specified for property 'inputDirectory' does not exist.
Workaround
Creating the missing directories manually resolves the error. They can be left empty, but it is recommended to put an empty .gitkeep file inside so CI systems and other developers don't run into the same problem.