With the release of Snapcraft 3.0, the jdk plugin is no-longer supported. See Java plugins for supported alternatives.
The jdk
plugin can be used with Java projects.
This plugin uses the common plugin keywords as well as those for “sources”. For more information, see Snapcraft parts metadata.
For examples, search GitHub for projects already using the plugin.
ⓘ This is a snapcraft plugin. See Snapcraft plugins and Supported plugins for further details on how plugins are used.