license-gradle-plugin icon indicating copy to clipboard operation
license-gradle-plugin copied to clipboard

Excluding dependencies not working for gradle api and local groovy dependency

Open harshild opened this issue 8 years ago • 1 comments
trafficstars

Some projects, for example projects of type Gradle Plugins , have a compile dependency saying compile gradleApi() or compile localGroovy()

Obviously, dependencies generated due to these are not required for license identification so we have to exclude them using excludeDependencies. But if we try to excludeDependencies = [gradleApi(),localGroovy()] , it wont build.

Can someone suggest something on this ?

harshild avatar Feb 03 '17 06:02 harshild

@harshild The problem is, is that gradleApi() and alike are methods on the DependencyHandler we might be able to re-use that for the dependency exclusion mechanism, but it is probably not very simple.

hierynomus avatar Feb 16 '17 13:02 hierynomus