Skip to content

Commit 35a461e

Browse files
authored
Added Generate module graphs in Windows (#255)
* Added Generate module graphs in Windows * Remove domain dependency ui module * Update graph
1 parent 8298776 commit 35a461e

File tree

64 files changed

+2485
-7
lines changed

Some content is hidden

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

64 files changed

+2485
-7
lines changed

.github/workflows/Build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ jobs:
114114
commit_message: "🤖 Updates screenshots"
115115

116116
- name: Run local tests
117-
if: always()
117+
if: ${{ !cancelled() }}
118118
run: ./gradlew testDebug :lint:test
119119

120120
- name: Setup GMD
@@ -138,14 +138,14 @@ jobs:
138138
path: '**/build/outputs/apk/**/*.apk'
139139

140140
- name: Upload JVM local results (XML)
141-
if: always()
141+
if: ${{ !cancelled() }}
142142
uses: actions/upload-artifact@v4
143143
with:
144144
name: local-test-results
145145
path: '**/build/test-results/test*UnitTest/**.xml'
146146

147147
- name: Upload screenshot results (PNG)
148-
if: always()
148+
if: ${{ !cancelled() }}
149149
uses: actions/upload-artifact@v4
150150
with:
151151
name: screenshot-test-results
@@ -155,7 +155,7 @@ jobs:
155155
run: ./gradlew :app:lintRelease :lint:lint
156156

157157
- name: Upload lint reports (HTML)
158-
if: always()
158+
if: ${{ !cancelled() }}
159159
uses: actions/upload-artifact@v4
160160
with:
161161
name: lint-reports
@@ -231,7 +231,7 @@ jobs:
231231
run: ./gradlew createDebugCombinedCoverageReport
232232

233233
- name: Upload test reports
234-
if: always()
234+
if: ${{ !cancelled() }}
235235
uses: actions/upload-artifact@v4
236236
with:
237237
name: test-reports-${{ matrix.api-level }}

app/README.md

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

broadcast-receiver/README.md

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

build.gradle.kts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,14 @@ plugins {
3131
alias(libs.plugins.module.graph) apply true
3232
alias(libs.plugins.roborazzi) apply false
3333
alias(libs.plugins.room) apply false
34+
}
35+
36+
// Task to print all the module paths in the project e.g. :core:data
37+
// Used by module graph generator script
38+
tasks.register("printModulePaths") {
39+
subprojects {
40+
if (subprojects.size == 0) {
41+
println(this.path)
42+
}
43+
}
3444
}

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-test/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# :core:data-test module
2+
## Dependency graph
3+
![Dependency graph](../../docs/images/graphs/dep_graph_core_data_test.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-proto/README.md

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

core/datastore-test/README.md

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

0 commit comments

Comments
 (0)