Skip to content

Commit 2815a8f

Browse files
authored
refactor: move catalog to components (#11141)
2 parents 9da41ac + 088fe3b commit 2815a8f

107 files changed

Lines changed: 494 additions & 444 deletions

File tree

Some content is hidden

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

.github/workflows/build-android.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ jobs:
150150
uses: ./.github/actions/setup-gradle
151151

152152
- name: Build App UI-catalog application in Debug mode
153-
run: ./gradlew :app-ui-catalog:assembleDebug
153+
run: ./gradlew -p components :ui:catalog:assembleDebug
154154

155155
quality-unit-test:
156156
name: Quality - Unit tests

app-ui-catalog/detekt-baseline.xml

Lines changed: 0 additions & 11 deletions
This file was deleted.

app-ui-catalog/src/main/kotlin/net/thunderbird/ui/catalog/ui/navigation/CatalogNavigation.kt

Lines changed: 0 additions & 5 deletions
This file was deleted.

app-ui-catalog/src/main/kotlin/net/thunderbird/ui/catalog/ui/page/atom/CatalogAtomContent.kt

Lines changed: 0 additions & 54 deletions
This file was deleted.

app-ui-catalog/src/main/kotlin/net/thunderbird/ui/catalog/ui/page/molecule/CatalogMoleculeContent.kt

Lines changed: 0 additions & 47 deletions
This file was deleted.

app-ui-catalog/src/main/kotlin/net/thunderbird/ui/catalog/ui/page/organism/CatalogOrganismContent.kt

Lines changed: 0 additions & 44 deletions
This file was deleted.

app-ui-catalog/src/main/kotlin/net/thunderbird/ui/catalog/ui/page/organism/items/BannerItems.kt

Lines changed: 0 additions & 10 deletions
This file was deleted.

app-ui-catalog/src/main/kotlin/net/thunderbird/ui/catalog/ui/page/organism/items/DialogItems.kt

Lines changed: 0 additions & 12 deletions
This file was deleted.

components/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,10 @@ its own component, or introduce a smaller public API.
3737
The app currently consumes local component sources by default through dependency substitution. Disable local source
3838
substitution with the `tb.components.local` Gradle property when testing released artifacts.
3939

40+
The UI catalog app lives in the components build and can be built directly:
41+
4042
```shell
41-
./gradlew -Ptb.components.local=false :app-ui-catalog:assembleDebug
43+
./gradlew -p components :ui:catalog:assembleDebug
4244
```
4345

4446
Individual component groups can provide their own override property. Bolt substitution can be controlled with

components/settings.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,6 @@ dependencyResolutionManagement {
4343

4444
include(":ui:bolt")
4545

46+
include(":ui:catalog")
47+
4648
include(":ui:testing")

0 commit comments

Comments
 (0)