feat(android): add Licensee to track dependency licenses

This commit is contained in:
Harsh Shandilya 2023-08-04 01:04:00 +05:30
parent 52deb7ca5f
commit 1e396bc7ff
No known key found for this signature in database
2 changed files with 9 additions and 0 deletions

View file

@ -19,6 +19,7 @@ plugins {
alias(libs.plugins.modulegraphassert)
alias(libs.plugins.whetstone)
alias(libs.plugins.baselineprofile)
alias(libs.plugins.licensee)
}
android {
@ -38,6 +39,13 @@ baselineProfile {
from(projects.benchmark.dependencyProject)
}
licensee {
allow("Apache-2.0")
allow("MIT")
ignoreDependencies("org.commonmark") { because("Commonmark is BSD licensed") }
allowUrl("https://jsoup.org/license") { because("Jsoup is MIT licensed") }
}
moduleGraphAssert {
assertOnAnyBuild = true
maxHeight = 4