Skip to content

Commit

Permalink
add JAVA_21_HOME to build_java_agent.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
am312 committed Mar 9, 2024
1 parent 5b1ae72 commit 56844c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib-injection/build_java_agent.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/sh

JAVA_HOME=$JAVA_HOME_8_X64 JAVA_8_HOME=$JAVA_HOME_8_X64 JAVA_11_HOME=$JAVA_HOME_11_X64 JAVA_17_HOME=$JAVA_HOME_17_X64 ./gradlew dd-java-agent:build dd-java-agent:shadowJar --build-cache --parallel --no-daemon --max-workers=8
JAVA_HOME=$JAVA_HOME_8_X64 JAVA_8_HOME=$JAVA_HOME_8_X64 JAVA_11_HOME=$JAVA_HOME_11_X64 JAVA_17_HOME=$JAVA_HOME_17_X64 JAVA_21_HOME=$JAVA_HOME_21_X64 ./gradlew dd-java-agent:build dd-java-agent:shadowJar --build-cache --parallel --no-daemon --max-workers=8
cp workspace/dd-java-agent/build/libs/dd-java-agent-*.jar lib-injection/
rm lib-injection/*-sources.jar lib-injection/*-javadoc.jar
mv lib-injection/*.jar lib-injection/dd-java-agent.jar
echo "Java tracer copied to lib-injection folder"
ls lib-injection/
ls lib-injection/

0 comments on commit 56844c2

Please sign in to comment.