Skip to content

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:

  1. Clone or download the repository. git clone https://github.com/dmonsch/PCM-Headless/.
  2. 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.
  3. Be sure that you installed Lombok into your IDE, which is used within the project.
  4. Build all projects using the Gradle tasks clear build jar.
  5. If you want to use the REST interface, additionally execute the Gradle task bootJar
  6. 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
Clone this wiki locally