mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 21:07:04 +05:30
feat(android): add Licensee to track dependency licenses
This commit is contained in:
parent
52deb7ca5f
commit
1e396bc7ff
2 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -99,6 +99,7 @@ android-test = { id = "com.android.test", version.ref = "agp" }
|
|||
anvil = "com.squareup.anvil:2.4.7"
|
||||
baselineprofile = { id = "androidx.baselineprofile", version.ref = "benchmark" }
|
||||
kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
|
||||
licensee = "app.cash.licensee:1.7.0"
|
||||
modulegraph = "dev.iurysouza.modulegraph:0.4.0"
|
||||
modulegraphassert = "com.jraska.module.graph.assertion:2.4.1"
|
||||
poko = "dev.drewhamilton.poko:0.14.0"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue