mirror of
https://gitlab.com/qemu-project/meson.git
synced 2025-07-03 06:08:08 +08:00
21 lines
582 B
YAML
21 lines
582 B
YAML
name: jar
|
|
returns: jar
|
|
description: |
|
|
Build a jar from the specified Java source files. Keyword arguments
|
|
are the same as [[executable]]'s, with the addition of
|
|
`main_class` which specifies the main class to execute when running
|
|
the jar with `java -jar file.jar`.
|
|
|
|
posargs_inherit: _build_target_base
|
|
varargs_inherit: _build_target_base
|
|
kwargs_inherit: _build_target_base
|
|
|
|
kwargs:
|
|
main_class:
|
|
type: str
|
|
description: Main class for running the built jar
|
|
java_resources:
|
|
type: structured_src
|
|
since: 0.62.0
|
|
description: Resources to be added to the jar
|