Allow components to specify Java agents and JVM arguments (#175)

This commit is contained in:
Una 2022-04-05 23:22:24 -07:00 committed by GitHub
parent 8732bea99b
commit dc6340bf38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 136 additions and 2 deletions

View file

@ -48,6 +48,10 @@ void LibrariesTask::executeTask()
libArtifactPool.append(profile->getLibraries());
libArtifactPool.append(profile->getNativeLibraries());
libArtifactPool.append(profile->getMavenFiles());
for (auto agent : profile->getAgents())
{
libArtifactPool.append(agent->library());
}
libArtifactPool.append(profile->getMainJar());
processArtifactPool(libArtifactPool, failedLocalLibraries, inst->getLocalLibraryPath());