The ant plugin
ant plugin is useful for ant-based parts.
The ant build system is commonly used to build Java projects. The plugin requires a build.xml in the root of the source tree.
This plugin uses the common plugin keywords as well as those for “sources”. For more information, see Snapcraft parts metadata.
Additionally, this plugin uses the following plugin-specific keywords:
A dictionary of key-value pairs. Set the following properties when running ant.
ant-build-targets(list of strings)
Run the given ant targets.
For examples, search GitHub for projects already using the plugin.
Last updated 4 months ago. Help improve this document in the forum.