Hey folks. I need some help understanding what is ...
# community-support
k
Hey folks. I need some help understanding what is going on. Suppose I have a custom configuration like this:
Copy code
val myConfig by project.configurations.registering {
    isVisible = false
    isTransitive = false
    isCanBeConsumed = false
    isCanBeResolved = true
    extendsFrom(project.configurations["testRuntimeClasspath"])
}
The issue I have is that if I add a dependency to the
testRuntimeClasspath
configuration, it doesn't look like it appears in
myConfig
. Is it because
testRuntimeClasspath
is not consumable? I also tried adding the same dependency to
testImplementation
and
testRuntimeOnly
, to no avail. Any insights as to what is happening?
v
Consumable is irrelevant for extending it. But I wonder that you can add a dependency to it directly. Anyway, can you share an MCVE?