A simple example of how to embed the UI and the backend code in a single artifact (JAR). This is done by specifying the build output folder for the UI to be the static resources folder (see angular.json) and calling npm build as a gradle build step (see build.gradle).