aboutsummaryrefslogtreecommitdiff
path: root/docs/yaml/functions/jar.yaml
blob: 6e8e5ddfc0212646413001811146f4c584632ed5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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