Compile configuration subset

Hi Everyone,

Is it possible to specify a configuration subset or declare a configuration which is a subset of another?

Given the following dependencies section:

compile 'log4j:log4j:1.2.16',

i would remove A SUBSET (all but log4j) of those dependencies in the eclipse classpath section. The following code remove properly ALL the dependencies declared in compile configuration:

eclipse {
classpath {
minusConfiguration += [ configurations.compile ]

Thanks in advance