mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 19:57:04 +05:30
feat: add a module graph to the README
This commit is contained in:
parent
bc60929fe9
commit
adfac94094
5 changed files with 37 additions and 4 deletions
26
README.md
26
README.md
|
@ -14,6 +14,32 @@ Unofficial Android app for read-only access to [lobste.rs](https://lobste.rs), b
|
||||||
|
|
||||||
Snapshots from the development branch can be obtained [here](https://github.com/msfjarvis/compose-lobsters/releases/tag/nightly).
|
Snapshots from the development branch can be obtained [here](https://github.com/msfjarvis/compose-lobsters/releases/tag/nightly).
|
||||||
|
|
||||||
|
## Dependency Diagram
|
||||||
|
```mermaid
|
||||||
|
%%{
|
||||||
|
init: {
|
||||||
|
'theme': 'neutral'
|
||||||
|
}
|
||||||
|
}%%
|
||||||
|
|
||||||
|
graph LR
|
||||||
|
|
||||||
|
benchmark --> android
|
||||||
|
android --> api
|
||||||
|
android --> common
|
||||||
|
android --> core
|
||||||
|
android --> coroutine-utils
|
||||||
|
android --> database
|
||||||
|
android --> metadata-extractor
|
||||||
|
android --> model
|
||||||
|
api --> model
|
||||||
|
common --> core
|
||||||
|
common --> database
|
||||||
|
common --> model
|
||||||
|
metadata-extractor --> model
|
||||||
|
database --> core
|
||||||
|
|
||||||
|
```
|
||||||
## License
|
## License
|
||||||
|
|
||||||
See [LICENSE](LICENSE)
|
See [LICENSE](LICENSE)
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
* license that can be found in the LICENSE file or at
|
* license that can be found in the LICENSE file or at
|
||||||
* https://opensource.org/licenses/MIT.
|
* https://opensource.org/licenses/MIT.
|
||||||
*/
|
*/
|
||||||
@file:Suppress("DSL_SCOPE_VIOLATION", "UnstableApiUsage")
|
@file:Suppress("UnstableApiUsage")
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id("dev.msfjarvis.claw.android-application")
|
id("dev.msfjarvis.claw.android-application")
|
||||||
|
|
|
@ -1,14 +1,18 @@
|
||||||
/*
|
/*
|
||||||
* Copyright © 2021-2022 Harsh Shandilya.
|
* Copyright © 2021-2023 Harsh Shandilya.
|
||||||
* Use of this source code is governed by an MIT-style
|
* Use of this source code is governed by an MIT-style
|
||||||
* license that can be found in the LICENSE file or at
|
* license that can be found in the LICENSE file or at
|
||||||
* https://opensource.org/licenses/MIT.
|
* https://opensource.org/licenses/MIT.
|
||||||
*/
|
*/
|
||||||
@file:Suppress("DSL_SCOPE_VIOLATION")
|
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id("dev.msfjarvis.claw.spotless")
|
id("dev.msfjarvis.claw.spotless")
|
||||||
id("dev.msfjarvis.claw.versions")
|
id("dev.msfjarvis.claw.versions")
|
||||||
id("dev.msfjarvis.claw.kotlin-common")
|
id("dev.msfjarvis.claw.kotlin-common")
|
||||||
alias(libs.plugins.android.test) apply false
|
alias(libs.plugins.android.test) apply false
|
||||||
|
alias(libs.plugins.modulegraph)
|
||||||
|
}
|
||||||
|
|
||||||
|
moduleGraphConfig {
|
||||||
|
readmePath.set(project.layout.projectDirectory.file("README.md").asFile.absolutePath)
|
||||||
|
heading.set("## Dependency Diagram")
|
||||||
}
|
}
|
||||||
|
|
|
@ -93,5 +93,6 @@ whetstone = { module = "com.deliveryhero.whetstone:whetstone", version.ref = "wh
|
||||||
android-test = { id = "com.android.test", version.ref = "agp" }
|
android-test = { id = "com.android.test", version.ref = "agp" }
|
||||||
anvil = "com.squareup.anvil:2.4.4"
|
anvil = "com.squareup.anvil:2.4.4"
|
||||||
kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
|
kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
|
||||||
|
modulegraph = "dev.iurysouza.modulegraph:0.2.2"
|
||||||
sqldelight = { id = "app.cash.sqldelight", version.ref = "sqldelight" }
|
sqldelight = { id = "app.cash.sqldelight", version.ref = "sqldelight" }
|
||||||
whetstone = { id = "dev.msfjarvis.whetstone", version.ref = "whetstone" }
|
whetstone = { id = "dev.msfjarvis.whetstone", version.ref = "whetstone" }
|
||||||
|
|
|
@ -32,6 +32,8 @@ pluginManagement {
|
||||||
includeModule("com.github.ben-manes", "gradle-versions-plugin")
|
includeModule("com.github.ben-manes", "gradle-versions-plugin")
|
||||||
includeModule("org.gradle.android.cache-fix", "org.gradle.android.cache-fix.gradle.plugin")
|
includeModule("org.gradle.android.cache-fix", "org.gradle.android.cache-fix.gradle.plugin")
|
||||||
includeModule("gradle.plugin.org.gradle.android", "android-cache-fix-gradle-plugin")
|
includeModule("gradle.plugin.org.gradle.android", "android-cache-fix-gradle-plugin")
|
||||||
|
includeModule("dev.iurysouza.modulegraph", "dev.iurysouza.modulegraph.gradle.plugin")
|
||||||
|
includeModule("dev.iurysouza", "modulegraph")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
exclusiveContent {
|
exclusiveContent {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue