jaredsburrows/gradle-license-plugin
Idea for a new task to check found licenses against list of allowed licenses
オープン
#189 opened on 2022/04/14
help wanted
Repository metrics
- Stars
- (442 個のスター)
- PR merge metrics
- (平均マージ 62d 9h) (30d で 18 merged PRs)
説明
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.