Skip to content

Commit e0de24b

Browse files
authored
Create module dependency graphs (openMF#2734)
1 parent 00214ac commit e0de24b

File tree

70 files changed

+5475
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+5475
-0
lines changed

androidApp/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# :androidApp module
2+
## Dependency graph
3+
![Dependency graph](../docs/images/graphs/dep_graph_androidApp.svg)

build.gradle.kts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ plugins {
2828
alias(libs.plugins.dependencyGuard) apply false
2929
alias(libs.plugins.detekt) apply false
3030
alias(libs.plugins.spotless) apply false
31+
alias(libs.plugins.module.graph) apply true // Plugin for module graph generation
3132

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

5051
DynamicVersion.setDynamicVersion(file, project.version.toString())
52+
}
53+
54+
// Task to print all the module paths in the project e.g. :core:data
55+
// Used by module graph generator script
56+
tasks.register("printModulePaths") {
57+
subprojects {
58+
if (subprojects.size == 0) {
59+
println(this.path)
60+
}
61+
}
5162
}

core/common/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# :core:common module
2+
## Dependency graph
3+
![Dependency graph](../../docs/images/graphs/dep_graph_core_common.svg)

core/data/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# :core:data module
2+
## Dependency graph
3+
![Dependency graph](../../docs/images/graphs/dep_graph_core_data.svg)

core/database/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# :core:database module
2+
## Dependency graph
3+
![Dependency graph](../../docs/images/graphs/dep_graph_core_database.svg)

core/datastore/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# :core:datastore module
2+
## Dependency graph
3+
![Dependency graph](../../docs/images/graphs/dep_graph_core_datastore.svg)

core/designsystem/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# :core:designsystem module
2+
## Dependency graph
3+
![Dependency graph](../../docs/images/graphs/dep_graph_core_designsystem.svg)

core/logs/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# :core:logs module
2+
## Dependency graph
3+
![Dependency graph](../../docs/images/graphs/dep_graph_core_logs.svg)

core/model/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# :core:model module
2+
## Dependency graph
3+
![Dependency graph](../../docs/images/graphs/dep_graph_core_model.svg)

core/network/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# :core:network module
2+
## Dependency graph
3+
![Dependency graph](../../docs/images/graphs/dep_graph_core_network.svg)

0 commit comments

Comments
 (0)