fixes issue where the javaagent configuration was resolved at configuration time when using the javaagent-application-distribution plugin. Now, configuration resolution is deferred to when the start script is being written rather than when the task is being configured
fixes issue where the extended OpenTelemetry javaagent had merged service files. This requires the reintroduction of the shadow jar plugin as a depednency, but only for the purpose of using the ShadowJar task (the shadow jar plugin is never applied). The ShadowJar task is preferred to the Jar task because it knows how to merge service files. Ripping off that code would require a lot of copy-pasting and maintenance as it would essentially require an OTelJar task. Rather than maintain that, for now I prefer to simply have the transitive dependency on the shadow plugin. Contributions eliminating this dependency are welcomed
javaagent
configuration was resolved at configuration time when using thejavaagent-application-distribution
plugin. Now, configuration resolution is deferred to when the start script is being written rather than when the task is being configuredOTelJar
task. Rather than maintain that, for now I prefer to simply have the transitive dependency on the shadow plugin. Contributions eliminating this dependency are welcomed