gnu: java-openjfx-build: Add snippet.

* gnu/packages/java.scm (java-openjfx-build)[source]: Add snippet to remove
bundled gradle.
This commit is contained in:
Björn Höfling 2020-03-05 22:07:49 +01:00
parent a098b34980
commit 2c2b1ef854
No known key found for this signature in database
GPG key ID: BF286CB6593E5FFD

View file

@ -2353,6 +2353,12 @@ (define-public java-openjfx-build
(string-join (string-split version #\.) "u")
"-ga"))))
(file-name (string-append name "-" version "-checkout"))
(modules '((guix build utils)))
(snippet
'(begin
;; Delete included gradle jar
(delete-file-recursively "gradle/wrapper")
#t))
(sha256
(base32
"0yg38mwpivswccv9n96k06x3iv82i4px1a9xg9l8dswzwmfj259f"))))