Skip to content

Worker classpath should only contain necessary classes #3698

@oehme

Description

@oehme

Given this trivial example, one can see that the whole classloader that loaded the work item implementation is added to the worker classpath. This includes all kinds of Gradle internals like Guava and Groovy as well as any other plugins that were loaded by the same project.

Instead, the worker server should only be started with the minimal set of classes to needed for that work item.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions