I have a JavaAgent JAR that needs to be:
- Included in
bootRun(referenced inbootRun_ManifestJar.jarMANIFEST Class-Path) - NOT Included in
bootJar(the App.jarBOOT-INF/libdirectory).
What I've tried thus far:
compileOnly "com.quartzdesk:quartzdesk-agent:3.6.0"
This is not including the JAR in either bootRun or bootJar
runtime "com.quartzdesk:quartzdesk-agent:3.6.0"
This is including the JAR in both bootRun AND bootJar (surprised it is included in bootJar).
Any suggestions would be greatly appreciated. Thank you!