News for hackers. Stuff that matters.
Re:Gradle 7.0 by clumsysmurf on Monday April 12, 2021 @12:15AM (#26776004)
> Gradle is a long lived project with lots of skeletons in the closet

One of the skeletons I wish they would fix - i was hoping this would happen in 7.0 - is isolated classloaders for plugins, or something like that.

At the moment, all the plugins can see any other plugins dependencies, like guava. Bringing in your own version of guava can break other plugins.

Maybe this has changed, but I don't think so.

Re:Gradle 7.0 by snafu109 on Monday April 12, 2021 @01:48AM (#26776370)
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...

Re:Gradle 7.0 by jpgvm on Monday April 12, 2021 @12:37AM (#26776107)
Not changed yet, leads to lots of shaded dependencies in plugins and I completely agree, it's awful.