Is there a way to get a list of configurations associated with a plugin?
What does dependency configuration inheritance mean? In the guide chapter 23.5 it shows testRuntime inheriance. I thought this might mean that I can add dependencies for testRuntime and have them applied to main and test compile and runtime dependencies. But, that doesn’t seem to be the case. Do I really have to copy the same dependency lists for each configuration?
In the samples there are examples where a configuration is added by naming it in a configurations block, e.g. apiAndImpl. A dependency is then declared for that configuration. What is that doing? How does that allow a compiler to find a dependency, and at what stage? There is an api and an impl source directory, which matches the configuration names. So, does configuration equal directory name?