code: public void applyConfiguration(Configuration configuration) {
          if (plugins != null) {
              plugins.stream()
                      .filter(pluginDefinition -> pluginDefinition.isConfigurationSupported(configuration))
                      .forEach(pluginDefinition -> project.getDependencies().add(configuration.getName(), generateDependencyNotation(configuration, pluginDefinition)));
          }
      }
docs: Add dependencies to the specified configuration. Only dependencies to plugins that support the provided
  configuration will be included.
  
  @param configuration the configuration where the plugin dependencies are added to