hierynomus/license-gradle-plugin

Honor Gradle's buildDir property

robertwenner opened this issue · 2 comments

I have this build script:

plugins {
    id 'java'
    id 'com.github.hierynomus.license' version '0.13.1'
}
buildDir = 'generated'

When I run gradle java, I get the .class files under generated/ as expected.

When I run gradle downLic, it creates a folder named build/ and puts its reports in that.

How can I change that? I think it would be best to honor the global buildDir (like other plugins do), but I can live with a configuration option in the license-gradle-plugin as well.

Good find. I'll fix that :)

Wow, you're fast! Awesome, thanks!