There are two main design forces there, first as
@gildor and
@hastebrot correctly pointed out, the set of configurations is dynamic and can be augmented by any plugin (written in any JVM language) or included script (Kotlin or Groovy) at any time and second, by the time
DependencyHandler.add
is called the configuration must have been registered