Skip to content

Commit

Permalink
Create module dependency graphs (#2734)
Browse files Browse the repository at this point in the history
  • Loading branch information
biplab1 authored Jan 9, 2025
1 parent 00214ac commit e0de24b
Show file tree
Hide file tree
Showing 70 changed files with 5,475 additions and 0 deletions.
3 changes: 3 additions & 0 deletions androidApp/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# :androidApp module
## Dependency graph
![Dependency graph](../docs/images/graphs/dep_graph_androidApp.svg)
11 changes: 11 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ plugins {
alias(libs.plugins.dependencyGuard) apply false
alias(libs.plugins.detekt) apply false
alias(libs.plugins.spotless) apply false
alias(libs.plugins.module.graph) apply true // Plugin for module graph generation

//Multiplatform Plugins
alias(libs.plugins.jetbrainsCompose) apply false
Expand All @@ -48,4 +49,14 @@ tasks.register("versionFile") {
val file = File(projectDir, "version.txt")

DynamicVersion.setDynamicVersion(file, project.version.toString())
}

// Task to print all the module paths in the project e.g. :core:data
// Used by module graph generator script
tasks.register("printModulePaths") {
subprojects {
if (subprojects.size == 0) {
println(this.path)
}
}
}
3 changes: 3 additions & 0 deletions core/common/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# :core:common module
## Dependency graph
![Dependency graph](../../docs/images/graphs/dep_graph_core_common.svg)
3 changes: 3 additions & 0 deletions core/data/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# :core:data module
## Dependency graph
![Dependency graph](../../docs/images/graphs/dep_graph_core_data.svg)
3 changes: 3 additions & 0 deletions core/database/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# :core:database module
## Dependency graph
![Dependency graph](../../docs/images/graphs/dep_graph_core_database.svg)
3 changes: 3 additions & 0 deletions core/datastore/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# :core:datastore module
## Dependency graph
![Dependency graph](../../docs/images/graphs/dep_graph_core_datastore.svg)
3 changes: 3 additions & 0 deletions core/designsystem/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# :core:designsystem module
## Dependency graph
![Dependency graph](../../docs/images/graphs/dep_graph_core_designsystem.svg)
3 changes: 3 additions & 0 deletions core/logs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# :core:logs module
## Dependency graph
![Dependency graph](../../docs/images/graphs/dep_graph_core_logs.svg)
3 changes: 3 additions & 0 deletions core/model/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# :core:model module
## Dependency graph
![Dependency graph](../../docs/images/graphs/dep_graph_core_model.svg)
3 changes: 3 additions & 0 deletions core/network/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# :core:network module
## Dependency graph
![Dependency graph](../../docs/images/graphs/dep_graph_core_network.svg)
3 changes: 3 additions & 0 deletions core/qrcode/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# :core:qrcode module
## Dependency graph
![Dependency graph](../../docs/images/graphs/dep_graph_core_qrcode.svg)
3 changes: 3 additions & 0 deletions core/ui/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# :core:ui module
## Dependency graph
![Dependency graph](../../docs/images/graphs/dep_graph_core_ui.svg)
1,075 changes: 1,075 additions & 0 deletions docs/images/graphs/dep_graph_androidApp.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions docs/images/graphs/dep_graph_core_common.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
115 changes: 115 additions & 0 deletions docs/images/graphs/dep_graph_core_data.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions docs/images/graphs/dep_graph_core_database.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
49 changes: 49 additions & 0 deletions docs/images/graphs/dep_graph_core_datastore.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions docs/images/graphs/dep_graph_core_designsystem.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions docs/images/graphs/dep_graph_core_logs.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31 changes: 31 additions & 0 deletions docs/images/graphs/dep_graph_core_model.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit e0de24b

Please sign in to comment.