- Gradle packaging:
- stop treating the default frontend dist path as a required input during `processResources`
- include frontend assets only when the resolved dist directory actually exists
- keep support for the explicit `-PfrontendDistDir=...` path used by the Docker build
- CI stability:
- restore backend-only Gradle runs in the reusable test workflow without requiring an Angular build first
- prevent `processResources` from failing before backend tests execute when `booklore-ui/dist/...` is absent
- Validation:
- run `processResources` successfully with no frontend dist present
- run `processResources` with a temporary `frontendDistDir` and confirm `static/index.html` is packaged
- pass `git diff --check`