We have ```addProvider("implementation", platform(...
# plugin-development
e
We have
Copy code
addProvider("implementation", platform(libs.koin.bom))
in convenience plugin but looks like it also covers all other configurations. Is it correct?
t
No, but it's inherited by other configurations that extend from
implementation
.
implementation
is effectively extended from all configurations added by the
java
plugin for example (https://docs.gradle.org/current/userguide/java_plugin.html#sec:java_plugin_and_dependency_management), but it's not extended from
apiElements
for instance created by the
java-library
plugin (https://docs.gradle.org/current/userguide/java_library_plugin.html#sec:java_library_configurations_graph), so users of such a library (including additional test suites where you added a dependency on the
project()
) wouldn't get those dependency constraints. And then of course there are all the other configurations added for other purposes (tools, etc.)
e
Thanks!