I haven't personally used it, but the Worker API offers various levels of isolation for tasks, including class loader and process isolation modes.
https://docs.gradle.org/current/userguide/worker_api.html#ch...
https://docs.gradle.org/current/userguide/worker_api.html#ch...
No comments yet.