1GRADLE_BUILD(7) Java Packages Tools GRADLE_BUILD(7)
2
3
4
6 gradle_build - build Gradle project in offline, local mode
7
9 %gradle_build [options] [-- Gradle-arguments]
10
12 gradle_build macro builds Gradle project and generates reactor
13 structure information to be used by mvn_install.
14
15 By default Gradle goal build is executed, as well as some additional
16 XMvn-specific tasks. If -f is specified then goal assemble is executed
17 instead of build.
18
19 Any arguments after -- are passed directly to Gradle. See gradle(1) for
20 more information on availability of Gradle options.
21
23 -d, --xmvn-debug
24 Enable XMvn debugging output. This option causes XMvn to write
25 verbose debugging information to standard output. Debugging
26 information includes at least details about artifact resolution
27 from system repositories.
28
29 -f, --force
30 Skip compilation and execution of unit and integration tests. This
31 option causes Gradle goal assemble to be executed instead of
32 default goal build.
33
34 -i, --skip-install
35 Skip artifact installation. This option disables generation of
36 reactor structure information so that future calls to mvn_install
37 will not result in installation of artifacts produced in current
38 Maven reactor.
39
40 -j, --skip-javadoc
41 Accepted for compatibility with %mvn_build, but otherwise ignored.
42
43 -s, --singleton
44 Enable singleton packaging (one artifact per package). This option
45 causes artifacts with identical artifactId to be installed as part
46 of the same subpackage. This behavior can be further customized by
47 adding more specific packaging rules with mvn_package.
48
49 -X, --debug
50 Enable Maven debugging output. Implies -d. This option causes
51 Gradle to write verbose debugging information to standard output.
52
54 xmvn_bootstrap
55 Run XMvn in online mode. If xmvn_bootstrap RPM macro is defined to
56 any value then Gradle is ran in online mode. Otherwise Gradle is
57 ran in offline mode. Online mode of Gradle allows missing
58 dependency artifacts to be fetched from remote repositories. This
59 behavior is mostly useful when bootstrapping new packages, which
60 dependecies have not yet been packaged.
61
63 Written by Mikolaj Izdebski.
64
66 Bugs should be reported through Java Packages Tools issue tracker at
67 Github: https://github.com/fedora-java/javapackages/issues.
68
70 mvn_build(7), mvn_alias(7), mvn_compat_version(7), mvn_config(7),
71 mvn_file(7), mvn_package(7), xmvn(1).
72
73
74
75JAVAPACKAGES 08/06/2018 GRADLE_BUILD(7)