Thank you for contributing to the project! Please read our code of conduct before you get started with the project setup.
We recommend using IntelliJ IDEA for development on this project. Configure as follows:
- Select
File > Open
and selectagent-java/build.gradle
. - Select
Open as Project
. - Wait for the builds, imports, and indexing to finish. This may take a few minutes due to the project's size and complexity.
- Add Java 11 SDK: select
File > Project Structure... > Platform Settings > SDKs > Add New SDK
. - Configure project SDK and target language level: select
File > Project Structure... > Project Settings > Project
. - Set
Project SDK
to JDK 11 - Set
Project language level
to 11
./gradlew clean shadowJar
Run the above command from the project root directory to build the java agent:
The Java agent requires JDK 11 or higher to build; your JAVA_HOME must be set to this JDK version.
After building, Java agent artifacts are located in the directory: build/generated/libs/