Install and manage applications built on Enonic XP platform.
Just copy the built JAR files to the $XP_HOME/deploy folder, or use the deploy task from the Gradle:
./gradlew deploy
Run the following command to build all applications with default options:
./gradlew build
With default build, applications will use the remote lib-admin-ui dependency and the environment variable won't be set.
To use the specific environment, you must set its value explicitly with env parameter (only prod or dev):
./gradlew build -Penv=dev
If the environment is set, the Gradle will look for the local lib-admin-ui and xp repositories in the parent folder of your app-applications repo. And if any present, will build them, along with building applications, instead of downloading the remote lib-admin-ui dependency.
The environment parameter will also be passed to lib-admin-ui.
Both environments are almost identical, except that building in the development environment will result in creating the DTS files, sourcemaps and other things, critical for the debugging. The build itself may also be a bit slower sometimes.