Can I reuse model with composite project?

I need use same model (Jmix Entities only, no screens or view) for Classic UI project and Flow UI project.
Can not do this with composite project.
Not by “Add-on (Java)” + “Full-Stack Application with Incubating FlowUI”,
not by “Add-On with Incubating FlowUI” + “Full-Stack Application (Java)”.
Executing ‘bootRun’ fail even when there is no entities.

How can I reuse model for Classic UI and FlowUI applications ?

The following sample composite project works for me:

I created it using “Add-on (Java)”, “Full-Stack Application with Incubating FlowUI”, “Full-Stack Application (Java)” templates. Then removed UI modules from the add-on.