craft_parts.plugins.java_plugin module¶
Plugin base class and definitions.
- class craft_parts.plugins.java_plugin.JavaPlugin(*, properties, part_info)¶
Bases:
PluginA base class for java-related plugins.
Provide common methods to deal with the java executable location and symlink creation.
- Parameters:
properties (
PluginProperties)part_info (
PartInfo)
- get_build_environment()¶
Override JAVA_HOME in the build environment.
- Return type:
dict[str,str]