- Backend (Java Gradle) in
backend
folder withbuild.gradle
- Frontend (NPM) in
frontend
folder withpackage.json
- Install Node.js according to Frontend
package.json
engine settings - Install NPM according to Frontend
package.json
engine settings - Install dependencies according to Frontend
package.json
- Executes build assets task in Frontend using
npm run build:prod
- Install JDK for Backend
- Installs Gradle Wrapper for Backend if not provided
- Build app by running Gradle task
stage
Default dirs (backend
and frontend
) could be overwritten with env vars:
export BACKEND_SOURCE_DIR=back
export FRONTEND_SOURCE_DIR=front
Also several directories supported, splitted by ;
export BACKEND_SOURCE_DIR=backend;worker
export FRONTEND_SOURCE_DIR=frontend;embed
Frontend build could be skipped by using appropriate var set to YES
export SKIP_FRONTEND_BUILD=YES