summaryrefslogtreecommitdiff
path: root/guix/build-system
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2023-11-02 07:50:10 +0100
committerJulien Lepiller <julien@lepiller.eu>2023-11-09 19:08:42 +0100
commit00ec39a4e4807957161ae16db04d5d9f75c19b2f (patch)
treec790ce38f394ae4ac45b9bde0a76a4722cf6cf98 /guix/build-system
parent5392d9db46d6f931233be2f25688481181622bb4 (diff)
guix: ant: Optionally build with java modules.
Modules were introduced in Java 9 and are not supported by the default icedtea compiler, so this feature is disabled by default. * guix/build-system/ant.scm (ant-build): Add use-java-modules? parameter. * guix/build/ant-build-system.scm (default-build.xml) (configure): Use it. Change-Id: I3b99238e4cd262332fa5c818be1af5477c7374fd
Diffstat (limited to 'guix/build-system')
-rw-r--r--guix/build-system/ant.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/guix/build-system/ant.scm b/guix/build-system/ant.scm
index e191fd3c99..84bf951fab 100644
--- a/guix/build-system/ant.scm
+++ b/guix/build-system/ant.scm
@@ -103,6 +103,7 @@
(build-target "jar")
(jar-name #f)
(main-class #f)
+ (use-java-modules? #f)
(test-include (list "**/*Test.java"))
(test-exclude (list "**/Abstract*.java"))
(source-dir "src")
@@ -131,6 +132,7 @@
#:build-target #$build-target
#:jar-name #$jar-name
#:main-class #$main-class
+ #:use-java-modules? #$use-java-modules?
#:test-include (list #$@test-include)
#:test-exclude (list #$@test-exclude)
#:source-dir #$source-dir