| 1 |
name: jar |
| 2 |
returns: jar |
| 3 |
description: | |
| 4 |
Build a jar from the specified Java source files. Keyword arguments |
| 5 |
are the same as [[executable]]'s, with the addition of |
| 6 |
`main_class` which specifies the main class to execute when running |
| 7 |
the jar with `java -jar file.jar`. |
| 8 |
|
| 9 |
posargs_inherit: _build_target_base |
| 10 |
varargs_inherit: _build_target_base |
| 11 |
kwargs_inherit: _build_target_base |
| 12 |
|
| 13 |
kwargs: |
| 14 |
main_class: |
| 15 |
type: str |
| 16 |
description: Main class for running the built jar |
| 17 |
java_resources: |
| 18 |
type: structured_src |
| 19 |
since: 0.62.0 |
| 20 |
description: Resources to be added to the jar |