Open orubel opened 1 year ago
Ok so solved this.
File that handles args and templating needs to exist as a 'service' which can be called from 'applications main method.
We move 'service' over via a gradle task (which happens prior to build) and args can be handled during build process (which naturally, this causes the files to miss initial build; this is intentional as files are only bootstrapped).
so upon further research, a task does need to be added to the application (as we have always thought), but it will be a 'JavaExec' task which will call gradle tasks in starter for 'controller-scaffold' or 'connector-scaffold' (we will deal with domain later).
Rather than 'services' we need to think about the functionality as LIBS.
would like to get this out of the demo application 'build.gradle'. Need to research this.
Creation of consolidated script for all scaffolding