-
Notifications
You must be signed in to change notification settings - Fork 1
Setup using Gradle project
dmonsch edited this page Nov 10, 2019
·
3 revisions
The following steps are required to set up the project using Gradle:
- Clone or download the repository.
git clone https://github.com/dmonsch/PCM-Headless/
. - Import the Gradle projects in your IDE or execute the Gradle tasks from the command line. We used Java 12 to build the project, but it should also work fine with all versions >8.
- Be sure that you installed Lombok into your IDE, which is used within the project.
- Build all projects using the Gradle tasks
clear build jar
. - If you want to use the REST interface, additionally execute the Gradle task
bootJar
- Please make sure that you always supply the Java agent at startup, otherwise errors will occur during runtime.
java -javaagent:[...]/git/org.pcm.headless.agent/build/libs/agent.jar -jar [...]/git/org.pcm.headless.rest/build/libs/PCM-Headless-REST-{version}.jar