You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Motivation
Certain licenses of project dependencies might be allowed and others not. A gradle task could automate the check if there are dependencies with licenses which are not allowed.
Specification
There is a plugin configuration that allows specifying a file name for the list of allowed licenses. When the new task is run, the file is read and licenses are collected as usual. If all licenses found are listed in the file, the task succeeds. If at least one licenses is found that is not in the file, the task fails. Problematic licenses and the dependencies using them are reported via file output and command line.
The text was updated successfully, but these errors were encountered:
This is a great idea, I know there are a few plugins like that already - https://github.com/cashapp/licensee. If you want to help build that functionality into this plugin, that would be great!
Motivation
Certain licenses of project dependencies might be allowed and others not. A gradle task could automate the check if there are dependencies with licenses which are not allowed.
Specification
There is a plugin configuration that allows specifying a file name for the list of allowed licenses. When the new task is run, the file is read and licenses are collected as usual. If all licenses found are listed in the file, the task succeeds. If at least one licenses is found that is not in the file, the task fails. Problematic licenses and the dependencies using them are reported via file output and command line.
The text was updated successfully, but these errors were encountered: