Created attachment 199655 [details] patch
(In reply to Yuri Victorovich from comment #0) This breaks the build of openjfx8-devel. Probably we need to preserve the current version of gradle just for it, maybe as devel/gradle4. Patching openjfx8-devel's build system is great fun... P.S. Please assign yourself to bugs you submit, so that they disappear from the 'Unassigned Port PRs' queue.
Unrelated to this update, but projects using gradle are also unportable (ports can't be created) due to the problem that it creates unportable dependency cache that has to be re-downloaded during each build because it contains full directory paths in it. Ports using gradle probably don't require dependencies, that's why they are even possible,
(In reply to Yuri Victorovich from comment #2) Indeed. In openjfx8-devel I have replaced build dependencies that are normally downloaded from Maven Central (or wherever) with jar files from various ports, so that it can be built in Poudriere.
A commit references this bug: Author: tobik Date: Fri Nov 30 08:59:14 UTC 2018 New revision: 486238 URL: https://svnweb.freebsd.org/changeset/ports/486238 Log: Preserve Gradle 4 in preparation of a devel/gradle update It is required for building java/openjfx8-devel. PR: 233623 Changes: head/devel/Makefile head/devel/gradle4/ head/devel/gradle4/Makefile head/devel/gradle4/pkg-plist
(In reply to commit-hook from comment #4) ... and also ports r486239.
Comment on attachment 199655 [details] patch LGTM
Committed.
A commit references this bug: Author: yuri Date: Tue Dec 4 17:53:47 UTC 2018 New revision: 486619 URL: https://svnweb.freebsd.org/changeset/ports/486619 Log: devel/gradle: Update to 5.0 Change biology/igv and biology/gatk to gradle4 due to build failures with gradle5. PR: 233623 Approved by: gasol.wu@gmail.com (maintainer) Changes: head/biology/gatk/Makefile head/biology/igv/Makefile head/devel/gradle/Makefile head/devel/gradle/distinfo head/devel/gradle/pkg-plist