I have a custom configuration. Is there a way to add it to the compile configuration?


(Phil Swenson) #1

I have a custom configuration called “supplementalCompile”

How do I add it to the compile config?

This doesnt’ work, but demonstrates what I’m looking for:

supplementalCompile(group: 'javax.ws', name: 'rs-api', version: '2.0.0')
    supplementalCompile.each{
        compile(it)
    }

(Luke Daley) #2
configurations {
  compile.extendsFrom supplementalCompile
}