Just to document a suggestion I made in person at JavaOne:
Consider allowing multiple plugins to supplement the definition of configurations defined by other plugins. For example, I want to use a standard set of configurations, e.g., “compile”, “runtime”, etc. I’m writing custom plugins that would like to contribute additional artifacts to the ones defined by the Java plugin, but can’t.
There are a number of ways to solve this. The easiest, though perhaps not the best, is to change the “add” method to take into account previously added artifacts.