Creating a new configuration adds some dependencie...
# community-support
j
Creating a new configuration adds some dependencies by default when I call
asPath
. Is it possible to remove them? They are not printed when I get
dependencies
or
allDependencies
in that configuration. They are only appearing in
asPath
v
Make whatever adds them not add them? It's not Gradle. What is added there?
j
Jetbrains stdlib and jetbrains annotation, with the Kotlin version associated to the Gradle one, not the latest
v
Still, it should not be Gradle doing that. And the KGP afair just adds the stdlib to all source sets, but not to arbitrary configurations you add. I guess any plugin or code that adds dependencies to each and every configuration does something wrong.
j
Not sure then, as I am doing a compiler plugin, maybe it is added by some plugin I have