As part of the ongoing effort to add Composer-friendly features to the Drupal UI, we add the build_dependencies key to *.info.yml files.
The build_dependencies key allows extension authors to specify that their extension requires a build tool in order to be installable.
This key only signifies that the build tool is required for building a codebase required by the extension. It does not tell Drupal core to perform any of these build steps. It exists so that users managing a Drupal site can be notified that a given extension requires an extra build step before it can be installed or updated.
The value for this key should be an array of names of build tools.
In current practice, the only meaningful value is composer.
Example:
name: 'My Module'
type: module
description: 'A module that needs a Composer build phase.'
core: 8.x
build_dependencies:
- composer