jaredsburrows/gradle-license-plugin

Idea for a new task to check found licenses against list of allowed licenses

开放

#189 创建于 2022年4月14日

 (2 条评论) (0 个反应) (0 位负责人)Groovy (69 个派生)batch import
help wanted

仓库指标

星标
 (442 个星标)
PR 合并指标
 (平均合并 62天 9小时) (30 天内合并 18 个 PR)

描述

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.

贡献者指南