gentoo / java-overlay

[MIRROR] Java overlay
https://gitweb.gentoo.org/proj/java.git
16 stars 21 forks source link

=dev-java/gradle-3.1: do not work with network-sandbox #38

Open tharvik opened 8 years ago

tharvik commented 8 years ago

=dev-java/gradle-3.1 do not works with FEATURES=network-sandbox.

It might be as easy as modifing subprojects/docs/src/docs/dsl/org.gradle.api.tasks.wrapper.Wrapper.xml.

chewi commented 8 years ago

@Flowdalic, @msva, please investigate!

msva commented 8 years ago

Yes, it is. Just as any other package with "bootsrapping" (where they fetching some crappy dependencies during build time and ignores system-wide installed ones (even if they exists in tree/overlay))

By the way, AFAIK, gradle was work in that way since eternity. Just as maven and some other bootstrap-systems.

Usually, fixing such things requires either heavy patching in ebuild or heavy patching of dist-sources and repackaging.

So, I'll try to take a look, but if you already know a solution, it will be very good if you'll apply a pull-request.

chewi commented 8 years ago

Okay, brain wasn't switched on earlier. I am aware that it does this and I don't like it but I was prepared to allow it in java-overlay if fixing it isn't trivial. I wouldn't allow it in the main tree.

tharvik commented 8 years ago

40 should fix it then.

Flowdalic commented 8 years ago

What @msva said :)