Perhaps you could try one of these solutions:
- Create extra projects
So you’d have a, b, c, service (without navigation) and a-all, b-all, c-all, service-all (with navigation)
- Generate the navigation from the kotlin sources, not the compiled classes
This way you don’t need the subprojects to be compiled to generate the navigation
- Use xml or json to represent your navigation and generate your kotlin sources from that instead
Same as 2.