Closed gchristov closed 3 years ago
Sure. Should be easy enough to support.
I'm thinking this should be an enum which dictates the behavior on violation. The default is 'error' but 'warn' and 'ignore' would also be supported. And it would be exposed on the DSL as a violation reporting level.
I can see that this is now available in version 1.3.0! 🥳 I was wondering what is the correct way to use it? I have tried this in my build.gradle
licensee {
violationAction(LOG)
}
but it seems to be throwing an error
Could not get unknown property 'LOG' for object of type app.cash.licensee.MutableLicenseeExtension.
You need to import app.cash.licensee.ViolationAction.LOG
.
First off, thanks for the great plugin! We recently integrated it into our app and it's working well.
I was wondering if it would be possible to have an option to disable license validation and only generate
artifacts.json
for the project dependencies? Main reasoning is that we already have a tool that does license validation so we are having to update the plugin manually quite frequently.Perhaps, something similar to how we have
allow()
orignoreDependencies
butallowAll()
or equivalent?