diff --git a/build.gradle.kts b/build.gradle.kts
index 5073f4c9..6f2e94a6 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -46,4 +46,24 @@ 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)
+ }
+ }
+}
+
+// Configuration for CMP module dependency graph
+moduleGraphAssert {
+ configurations += setOf("commonMainImplementation", "commonMainApi")
+ configurations += setOf("androidMainImplementation", "androidMainApi")
+ configurations += setOf("desktopMainImplementation", "desktopMainApi")
+ configurations += setOf("jsMainImplementation", "jsMainApi")
+ configurations += setOf("nativeMainImplementation", "nativeMainApi")
+ configurations += setOf("wasmJsMainImplementation", "wasmJsMainApi")
}
\ No newline at end of file
diff --git a/core/analytics/README.md b/core/analytics/README.md
index 5ec4be95..b0842354 100644
--- a/core/analytics/README.md
+++ b/core/analytics/README.md
@@ -1 +1,3 @@
# :core:analytics module
+## Dependency graph
+
diff --git a/core/common/README.md b/core/common/README.md
index a3fc24eb..1ac6cbc4 100644
--- a/core/common/README.md
+++ b/core/common/README.md
@@ -1 +1,3 @@
# :core:common module
+## Dependency graph
+
diff --git a/core/data/README.md b/core/data/README.md
index 1a61922b..60015849 100644
--- a/core/data/README.md
+++ b/core/data/README.md
@@ -21,4 +21,7 @@ graph LR
:core:data --> :core:model
:core:data --> :core:network
:core:data --> :core:analytics
-```
\ No newline at end of file
+```
+# :core:data module
+## Dependency graph
+
diff --git a/core/datastore/README.md b/core/datastore/README.md
index d177650d..76c0c03d 100644
--- a/core/datastore/README.md
+++ b/core/datastore/README.md
@@ -15,4 +15,7 @@ graph LR
end
:core:datastore --> :core:model
:core:datastore --> :core:common
-```
\ No newline at end of file
+```
+# :core:datastore module
+## Dependency graph
+
diff --git a/core/designsystem/README.md b/core/designsystem/README.md
index 3426b32c..9981b10f 100644
--- a/core/designsystem/README.md
+++ b/core/designsystem/README.md
@@ -13,4 +13,7 @@ graph LR
:core:model["model"]
end
:core:designsystem --> :core:model
-```
\ No newline at end of file
+```
+# :core:designsystem module
+## Dependency graph
+
diff --git a/core/domain/README.md b/core/domain/README.md
index 75386aeb..b09a4cd9 100644
--- a/core/domain/README.md
+++ b/core/domain/README.md
@@ -17,4 +17,7 @@ graph LR
:core:domain --> :core:common
:core:domain --> :core:data
:core:domain --> :core:model
-```
\ No newline at end of file
+```
+# :core:domain module
+## Dependency graph
+
diff --git a/core/model/README.md b/core/model/README.md
index dcd5e463..344139ad 100644
--- a/core/model/README.md
+++ b/core/model/README.md
@@ -13,4 +13,7 @@ graph LR
:core:common["common"]
end
:core:model --> :core:common
-```
\ No newline at end of file
+```
+# :core:model module
+## Dependency graph
+
diff --git a/core/network/README.md b/core/network/README.md
index 805db953..1595718f 100644
--- a/core/network/README.md
+++ b/core/network/README.md
@@ -17,4 +17,7 @@ graph LR
:core:network --> :core:common
:core:network --> :core:model
:core:network --> :core:datastore
-```
\ No newline at end of file
+```
+# :core:network module
+## Dependency graph
+
diff --git a/core/ui/README.md b/core/ui/README.md
index 505210ff..ea813f37 100644
--- a/core/ui/README.md
+++ b/core/ui/README.md
@@ -19,4 +19,7 @@ graph LR
:core:ui --> :core:designsystem
:core:ui --> :core:model
:core:ui --> :core:common
-```
\ No newline at end of file
+```
+# :core:ui module
+## Dependency graph
+
diff --git a/docs/images/graphs-kmp/dep_graph_core_analytics.svg b/docs/images/graphs-kmp/dep_graph_core_analytics.svg
new file mode 100644
index 00000000..3852e0c1
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_core_analytics.svg
@@ -0,0 +1,19 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_core_common.svg b/docs/images/graphs-kmp/dep_graph_core_common.svg
new file mode 100644
index 00000000..91e2b4bb
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_core_common.svg
@@ -0,0 +1,19 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_core_data.svg b/docs/images/graphs-kmp/dep_graph_core_data.svg
new file mode 100644
index 00000000..354ef053
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_core_data.svg
@@ -0,0 +1,115 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_core_datastore.svg b/docs/images/graphs-kmp/dep_graph_core_datastore.svg
new file mode 100644
index 00000000..b6ee5569
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_core_datastore.svg
@@ -0,0 +1,49 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_core_designsystem.svg b/docs/images/graphs-kmp/dep_graph_core_designsystem.svg
new file mode 100644
index 00000000..96acb52f
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_core_designsystem.svg
@@ -0,0 +1,43 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_core_domain.svg b/docs/images/graphs-kmp/dep_graph_core_domain.svg
new file mode 100644
index 00000000..3e6de3ab
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_core_domain.svg
@@ -0,0 +1,139 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_core_model.svg b/docs/images/graphs-kmp/dep_graph_core_model.svg
new file mode 100644
index 00000000..e69de29b
diff --git a/docs/images/graphs-kmp/dep_graph_core_network.svg b/docs/images/graphs-kmp/dep_graph_core_network.svg
new file mode 100644
index 00000000..8f1d182f
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_core_network.svg
@@ -0,0 +1,73 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_core_ui.svg b/docs/images/graphs-kmp/dep_graph_core_ui.svg
new file mode 100644
index 00000000..75145e70
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_core_ui.svg
@@ -0,0 +1,79 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_feature_accounts.svg b/docs/images/graphs-kmp/dep_graph_feature_accounts.svg
new file mode 100644
index 00000000..2264240c
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_feature_accounts.svg
@@ -0,0 +1,181 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_feature_auth.svg b/docs/images/graphs-kmp/dep_graph_feature_auth.svg
new file mode 100644
index 00000000..c0143e0d
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_feature_auth.svg
@@ -0,0 +1,211 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_feature_editpassword.svg b/docs/images/graphs-kmp/dep_graph_feature_editpassword.svg
new file mode 100644
index 00000000..4dadf079
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_feature_editpassword.svg
@@ -0,0 +1,181 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_feature_faq.svg b/docs/images/graphs-kmp/dep_graph_feature_faq.svg
new file mode 100644
index 00000000..6fe014c4
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_feature_faq.svg
@@ -0,0 +1,181 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_feature_finance.svg b/docs/images/graphs-kmp/dep_graph_feature_finance.svg
new file mode 100644
index 00000000..e6de7b5d
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_feature_finance.svg
@@ -0,0 +1,181 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_feature_history.svg b/docs/images/graphs-kmp/dep_graph_feature_history.svg
new file mode 100644
index 00000000..9dbfbf81
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_feature_history.svg
@@ -0,0 +1,181 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_feature_home.svg b/docs/images/graphs-kmp/dep_graph_feature_home.svg
new file mode 100644
index 00000000..e1359f77
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_feature_home.svg
@@ -0,0 +1,181 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_feature_invoices.svg b/docs/images/graphs-kmp/dep_graph_feature_invoices.svg
new file mode 100644
index 00000000..d6e3ccf4
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_feature_invoices.svg
@@ -0,0 +1,181 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_feature_kyc.svg b/docs/images/graphs-kmp/dep_graph_feature_kyc.svg
new file mode 100644
index 00000000..8a94d4eb
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_feature_kyc.svg
@@ -0,0 +1,181 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_feature_make_transfer.svg b/docs/images/graphs-kmp/dep_graph_feature_make_transfer.svg
new file mode 100644
index 00000000..2f0f6d4f
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_feature_make_transfer.svg
@@ -0,0 +1,181 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_feature_merchants.svg b/docs/images/graphs-kmp/dep_graph_feature_merchants.svg
new file mode 100644
index 00000000..8bb3ad2c
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_feature_merchants.svg
@@ -0,0 +1,181 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_feature_notification.svg b/docs/images/graphs-kmp/dep_graph_feature_notification.svg
new file mode 100644
index 00000000..3f8e1ab2
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_feature_notification.svg
@@ -0,0 +1,181 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_feature_payments.svg b/docs/images/graphs-kmp/dep_graph_feature_payments.svg
new file mode 100644
index 00000000..e84fe1ff
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_feature_payments.svg
@@ -0,0 +1,181 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_feature_profile.svg b/docs/images/graphs-kmp/dep_graph_feature_profile.svg
new file mode 100644
index 00000000..1d7e6236
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_feature_profile.svg
@@ -0,0 +1,181 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_feature_qr.svg b/docs/images/graphs-kmp/dep_graph_feature_qr.svg
new file mode 100644
index 00000000..a397ee9d
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_feature_qr.svg
@@ -0,0 +1,181 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_feature_receipt.svg b/docs/images/graphs-kmp/dep_graph_feature_receipt.svg
new file mode 100644
index 00000000..1a754672
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_feature_receipt.svg
@@ -0,0 +1,181 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_feature_request_money.svg b/docs/images/graphs-kmp/dep_graph_feature_request_money.svg
new file mode 100644
index 00000000..89c2c869
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_feature_request_money.svg
@@ -0,0 +1,181 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_feature_savedcards.svg b/docs/images/graphs-kmp/dep_graph_feature_savedcards.svg
new file mode 100644
index 00000000..9713b94d
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_feature_savedcards.svg
@@ -0,0 +1,181 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_feature_send_money.svg b/docs/images/graphs-kmp/dep_graph_feature_send_money.svg
new file mode 100644
index 00000000..8924380c
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_feature_send_money.svg
@@ -0,0 +1,181 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_feature_settings.svg b/docs/images/graphs-kmp/dep_graph_feature_settings.svg
new file mode 100644
index 00000000..e69de29b
diff --git a/docs/images/graphs-kmp/dep_graph_feature_standing_instruction.svg b/docs/images/graphs-kmp/dep_graph_feature_standing_instruction.svg
new file mode 100644
index 00000000..b4374a6e
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_feature_standing_instruction.svg
@@ -0,0 +1,181 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_feature_upi_setup.svg b/docs/images/graphs-kmp/dep_graph_feature_upi_setup.svg
new file mode 100644
index 00000000..bf1f23ab
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_feature_upi_setup.svg
@@ -0,0 +1,181 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_libs_mifos_passcode.svg b/docs/images/graphs-kmp/dep_graph_libs_mifos_passcode.svg
new file mode 100644
index 00000000..061099cf
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_libs_mifos_passcode.svg
@@ -0,0 +1,181 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_mifospay_android.svg b/docs/images/graphs-kmp/dep_graph_mifospay_android.svg
new file mode 100644
index 00000000..165cd20b
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_mifospay_android.svg
@@ -0,0 +1,937 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_mifospay_desktop.svg b/docs/images/graphs-kmp/dep_graph_mifospay_desktop.svg
new file mode 100644
index 00000000..005006aa
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_mifospay_desktop.svg
@@ -0,0 +1,949 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_mifospay_shared.svg b/docs/images/graphs-kmp/dep_graph_mifospay_shared.svg
new file mode 100644
index 00000000..2f34abc7
--- /dev/null
+++ b/docs/images/graphs-kmp/dep_graph_mifospay_shared.svg
@@ -0,0 +1,913 @@
+
+
+
+
+
diff --git a/docs/images/graphs-kmp/dep_graph_mifospay_web.svg b/docs/images/graphs-kmp/dep_graph_mifospay_web.svg
new file mode 100644
index 00000000..e69de29b
diff --git a/feature/accounts/README.md b/feature/accounts/README.md
index 6f5ce81f..f97964de 100644
--- a/feature/accounts/README.md
+++ b/feature/accounts/README.md
@@ -24,3 +24,6 @@



+# :feature:accounts module
+## Dependency graph
+
diff --git a/feature/auth/README.md b/feature/auth/README.md
index ca171476..62c15112 100644
--- a/feature/auth/README.md
+++ b/feature/auth/README.md
@@ -1,3 +1,6 @@
# :feature:auth module
## Dependency graph

+# :feature:auth module
+## Dependency graph
+
diff --git a/feature/editpassword/README.md b/feature/editpassword/README.md
index 6935b2d8..b48e41b5 100644
--- a/feature/editpassword/README.md
+++ b/feature/editpassword/README.md
@@ -16,3 +16,6 @@ https://github.com/user-attachments/assets/bd667ca1-bd85-4783-95bc-f4567e37011f



+# :feature:editpassword module
+## Dependency graph
+
diff --git a/feature/faq/README.md b/feature/faq/README.md
index 26f8bd82..0badef3a 100644
--- a/feature/faq/README.md
+++ b/feature/faq/README.md
@@ -13,3 +13,6 @@ https://github.com/user-attachments/assets/303b2ddb-5230-4823-a5d7-5fc640117f7e


+# :feature:faq module
+## Dependency graph
+
diff --git a/feature/finance/README.md b/feature/finance/README.md
index 807b19e8..3ee7b8c4 100644
--- a/feature/finance/README.md
+++ b/feature/finance/README.md
@@ -15,3 +15,6 @@ https://github.com/user-attachments/assets/efe67e85-875b-4dba-ad25-3e0128ab5743


+# :feature:finance module
+## Dependency graph
+
diff --git a/feature/history/README.md b/feature/history/README.md
index 19633c97..6ec5184c 100644
--- a/feature/history/README.md
+++ b/feature/history/README.md
@@ -18,3 +18,6 @@ https://github.com/user-attachments/assets/8311217d-d3b7-485d-bab3-a525299a3556



+# :feature:history module
+## Dependency graph
+
diff --git a/feature/home/README.md b/feature/home/README.md
index e81e9194..3f504d34 100644
--- a/feature/home/README.md
+++ b/feature/home/README.md
@@ -17,3 +17,6 @@ https://github.com/user-attachments/assets/32af8978-6bc6-4dff-afc1-2e17215381fc
### Web


+# :feature:home module
+## Dependency graph
+
diff --git a/feature/invoices/README.md b/feature/invoices/README.md
index ba38a17d..4d830a44 100644
--- a/feature/invoices/README.md
+++ b/feature/invoices/README.md
@@ -14,3 +14,6 @@ https://github.com/user-attachments/assets/10b1923d-a332-40af-a8ed-91d204b64f0c


+# :feature:invoices module
+## Dependency graph
+
diff --git a/feature/kyc/README.md b/feature/kyc/README.md
index bef1d7a4..877990e7 100644
--- a/feature/kyc/README.md
+++ b/feature/kyc/README.md
@@ -15,3 +15,6 @@ https://github.com/user-attachments/assets/3a445a2d-5a45-432a-b16d-bbd09b8c64f1



+# :feature:kyc module
+## Dependency graph
+
diff --git a/feature/make-transfer/README.md b/feature/make-transfer/README.md
index 272896f5..27982bc0 100644
--- a/feature/make-transfer/README.md
+++ b/feature/make-transfer/README.md
@@ -16,3 +16,6 @@ https://github.com/user-attachments/assets/d60d7fd4-4eae-42c9-9909-03c06b28824f


+# :feature:make-transfer module
+## Dependency graph
+
diff --git a/feature/merchants/README.md b/feature/merchants/README.md
index e69de29b..c7455cef 100644
--- a/feature/merchants/README.md
+++ b/feature/merchants/README.md
@@ -0,0 +1,3 @@
+# :feature:merchants module
+## Dependency graph
+
diff --git a/feature/notification/README.md b/feature/notification/README.md
index 46d1247b..0c235ac0 100644
--- a/feature/notification/README.md
+++ b/feature/notification/README.md
@@ -12,3 +12,6 @@ https://github.com/user-attachments/assets/71c99507-2539-4686-af6d-eefefe5fff22
### Web


+# :feature:notification module
+## Dependency graph
+
diff --git a/feature/payments/README.md b/feature/payments/README.md
index 36b1efeb..b8ed0b52 100644
--- a/feature/payments/README.md
+++ b/feature/payments/README.md
@@ -14,3 +14,6 @@ https://github.com/user-attachments/assets/4ddbab82-5666-40f1-b7bf-a1878474e05c


+# :feature:payments module
+## Dependency graph
+
diff --git a/feature/profile/README.md b/feature/profile/README.md
index 60816d65..c82f47c5 100644
--- a/feature/profile/README.md
+++ b/feature/profile/README.md
@@ -16,3 +16,6 @@ https://github.com/user-attachments/assets/8c9f6c34-79d1-4c7e-be46-a58493390542



+# :feature:profile module
+## Dependency graph
+
diff --git a/feature/qr/README.md b/feature/qr/README.md
index 59c64211..2791496f 100644
--- a/feature/qr/README.md
+++ b/feature/qr/README.md
@@ -1,4 +1,6 @@
# QR Scan Feature - In Progress
This feature allows users to scan QR codes and perform actions to send payment.
-currently, this feature only available in Android & IoS platform.
\ No newline at end of file
+currently, this feature only available in Android & IoS platform.# :feature:qr module
+## Dependency graph
+
diff --git a/feature/receipt/README.md b/feature/receipt/README.md
index 32ce869a..38c12291 100644
--- a/feature/receipt/README.md
+++ b/feature/receipt/README.md
@@ -176,3 +176,6 @@ And this feature could be merge with `Accounting` feature, to download the trans
]
}
```
+# :feature:receipt module
+## Dependency graph
+
diff --git a/feature/request-money/README.md b/feature/request-money/README.md
index 27df9436..51859d72 100644
--- a/feature/request-money/README.md
+++ b/feature/request-money/README.md
@@ -4,4 +4,7 @@
```
NSCameraUsageDescription$(PRODUCT_NAME) camera description.
NSPhotoLibraryUsageDescription$(PRODUCT_NAME) photos description.
-```
\ No newline at end of file
+```
+# :feature:request-money module
+## Dependency graph
+
diff --git a/feature/savedcards/README.md b/feature/savedcards/README.md
index d3567a01..1feaace3 100644
--- a/feature/savedcards/README.md
+++ b/feature/savedcards/README.md
@@ -19,3 +19,6 @@ https://github.com/user-attachments/assets/45079430-7297-462f-8b5b-3ac0162dd633


+# :feature:savedcards module
+## Dependency graph
+
diff --git a/feature/send-money/README.md b/feature/send-money/README.md
index 2fe796f4..4f960c55 100644
--- a/feature/send-money/README.md
+++ b/feature/send-money/README.md
@@ -16,3 +16,6 @@ https://github.com/user-attachments/assets/835a5b4b-00f9-4680-a095-11cb81b160c1


+# :feature:send-money module
+## Dependency graph
+
diff --git a/feature/settings/README.md b/feature/settings/README.md
index ad5ececc..b8a1ea2a 100644
--- a/feature/settings/README.md
+++ b/feature/settings/README.md
@@ -16,3 +16,6 @@ https://github.com/user-attachments/assets/d0844712-a176-4cc1-b742-22c0fcbf3696



+# :feature:settings module
+## Dependency graph
+
diff --git a/feature/standing-instruction/README.md b/feature/standing-instruction/README.md
index 46f6e4cf..b32ddaf4 100644
--- a/feature/standing-instruction/README.md
+++ b/feature/standing-instruction/README.md
@@ -22,3 +22,6 @@ https://github.com/user-attachments/assets/d53d1d69-d60d-42ab-a377-457baf070262


+# :feature:standing-instruction module
+## Dependency graph
+
diff --git a/feature/upi-setup/README.md b/feature/upi-setup/README.md
index e69de29b..41c38b6e 100644
--- a/feature/upi-setup/README.md
+++ b/feature/upi-setup/README.md
@@ -0,0 +1,3 @@
+# :feature:upi-setup module
+## Dependency graph
+
diff --git a/generateModuleGraphs.sh b/generateModuleGraphs.sh
index 9a0c65b2..57167811 100755
--- a/generateModuleGraphs.sh
+++ b/generateModuleGraphs.sh
@@ -53,7 +53,7 @@ done
module_paths=$(./gradlew -q printModulePaths --no-configuration-cache)
# Ensure the output directory exists
-mkdir -p docs/images/graphs/
+mkdir -p docs/images/graphs-kmp/
# Function to check and create a README.md for modules which don't have one.
check_and_create_readme() {
@@ -67,7 +67,7 @@ check_and_create_readme() {
# Check if README.md exists and create it if not
if [[ ! -f "$readme_path" ]]; then
echo "Creating README.md for ${module_path}"
-
+ fi
# Determine the depth of the module based on the number of colons
local depth=$(awk -F: '{print NF-1}' <<< "${module_path}")
@@ -76,12 +76,11 @@ check_and_create_readme() {
for ((i=1; i<$depth; i++)); do
relative_image_path+="../"
done
- relative_image_path+="docs/images/graphs/${file_name}.svg"
+ relative_image_path+="docs/images/graphs-kmp/${file_name}.svg"
- echo "# ${module_path} module" > "$readme_path"
+ echo "# ${module_path} module" >> "$readme_path"
echo "## Dependency graph" >> "$readme_path"
echo "" >> "$readme_path"
- fi
}
# Loop through each module path
@@ -101,7 +100,7 @@ echo "$module_paths" | while read -r module_path; do
-Pmodules.graph.of.module="${module_path}" "docs/images/graphs/${file_name}.svg"
+ dot -Tsvg "/tmp/${file_name}.gv" > "docs/images/graphs-kmp/${file_name}.svg"
# Remove the temporary .gv file
rm "/tmp/${file_name}.gv"
fi
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index 4d8244ae..c14ff549 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -43,7 +43,7 @@ zxingVersion = "3.5.3"
# Utility Dependencies
dependencyGuard = "0.5.0"
-moduleGraph = "2.5.0"
+moduleGraph = "2.7.3"
secrets = "2.0.1"
protobuf = "4.26.0"
protobufPlugin = "0.9.4"
diff --git a/libs/mifos-passcode/README.md b/libs/mifos-passcode/README.md
index 2a35a94b..ce0d48ac 100644
--- a/libs/mifos-passcode/README.md
+++ b/libs/mifos-passcode/README.md
@@ -1,3 +1,6 @@
# :feature:passcode module
## Dependency graph

+# :libs:mifos-passcode module
+## Dependency graph
+
diff --git a/mifospay-android/README.md b/mifospay-android/README.md
index f6a8090e..7ede3edd 100644
--- a/mifospay-android/README.md
+++ b/mifospay-android/README.md
@@ -15,4 +15,7 @@ graph LR
:mifospay-android --> :mifospay-shared
:mifospay-android --> :core:data
:mifospay-android --> :core:ui
-```
\ No newline at end of file
+```
+# :mifospay-android module
+## Dependency graph
+
diff --git a/mifospay-desktop/README.md b/mifospay-desktop/README.md
index 0d903dd7..c294688b 100644
--- a/mifospay-desktop/README.md
+++ b/mifospay-desktop/README.md
@@ -19,4 +19,7 @@ graph LR
:mifospay-desktop --> :core:model
:mifospay-desktop --> :core:datastore
:mifospay-desktop --> :mifospay-shared
-```
\ No newline at end of file
+```
+# :mifospay-desktop module
+## Dependency graph
+
diff --git a/mifospay-shared/README.md b/mifospay-shared/README.md
index b894b78e..cc2be747 100644
--- a/mifospay-shared/README.md
+++ b/mifospay-shared/README.md
@@ -70,4 +70,7 @@ graph LR
:mifospay-shared --> :feature:qr
:mifospay-shared --> :feature:merchants
:mifospay-shared --> :feature:upi-setup
-```
\ No newline at end of file
+```
+# :mifospay-shared module
+## Dependency graph
+
diff --git a/mifospay-web/README.md b/mifospay-web/README.md
index 5c97cee4..38520e23 100644
--- a/mifospay-web/README.md
+++ b/mifospay-web/README.md
@@ -19,4 +19,7 @@ graph LR
:mifospay-web --> :core:data
:mifospay-web --> :core:model
:mifospay-web --> :core:datastore
-```
\ No newline at end of file
+```
+# :mifospay-web module
+## Dependency graph
+