Specific names for the types of configurations in build.gradle dependencies (Apache Ivy)

Hello. I use Apache Ivy dependencies and configurations. But in the Gradle documentation, I am struggling to find a proper name and a proper definition for the two different places “configuration” is used. Let’s use this code example:

configurations {
   confA
}
dependencies {
    confA group:"com.domain", name:"module", version:"1.2.3-branchName", configuration:"confB"
}

We see confA and confB. They are both configuration names, but I am struggling to specifically identify them when I write my own documentation. I am thinking:

  • confA: consumer configuration?
  • confB: producer configuration?

Would that be right?

Yep, sounds ok to me.

1 Like