Skip to content

Gmoro/migrating more modules to koin annotations#89

Merged
gabrielbmoro merged 6 commits intomasterfrom
gmoro/migrating-more-modules-to-koin-annotations
May 7, 2026
Merged

Gmoro/migrating more modules to koin annotations#89
gabrielbmoro merged 6 commits intomasterfrom
gmoro/migrating-more-modules-to-koin-annotations

Conversation

@gabrielbmoro
Copy link
Copy Markdown
Collaborator

@gabrielbmoro gabrielbmoro commented May 6, 2026

Kotzilla Setup with Gradle 9 + Some module migrations

  • Arrumando o setup do Kotzilla no iOS e no Android após suporte ao Gradle 9
  • Migrando mais modulos para Koin annotation

Testes Realizados

Ambos rodando perfeitamente : )

Screenshots

image image

Checklist

  • Os testes foram executados e passaram com sucesso.
  • As alterações de código seguem as diretrizes de estilo do projeto.
  • Foram adicionados testes, se aplicável.
  • Se inscreveu no canal?😛

Issues Relacionadas

…module loading

- Convert `ProfilePickerStreamModule` from a DSL-based module to an annotation-based `@Module` using `@ComponentScan`.
- Annotate `ProfilePickerStreamViewModel`, `UseCase`, `Repository`, and `Service` with `@KoinViewModel` and `@Factory`.
- Add `com.streamplayer.koin-annotations-setup` plugin to the `feature-profile` build script.
- Centralize the initialization of `SearchModule` and `ProfilePickerStreamModule` within the main `AppModule`.
- Remove manual `rememberKoinModules` loading from `ProfilePickerStreamNavigation` and `SearchStreamNavigation`.
- Migrate `NewsScreenModule` from manual DSL to Koin Annotations using `@Module` and `@ComponentScan`.
- Update `NewsScreenViewModel` with `@KoinViewModel` and `@Provided` annotations for automated dependency injection.
- Centralize DI configuration by moving `NewsScreenModule` and `PermissionsModule` initialization into the global `AppModule`.
- Remove on-demand module loading (`rememberKoinModules`) from `NewsNavigation`.
- Apply `com.streamplayer.koin-annotations-setup` plugin to the `feature-news` module.
- Organize `AppModule` with regions to better categorize shared and feature-specific modules.
- Add `koin-core-coroutines` dependency to `libs.versions.toml`, `composeApp`, and `core-permission` modules.
- Convert `PermissionsModule` from a standard Koin module to a `lazyModule`.
- Update `AppModule` to load `PermissionsModule` using the `lazyModules` configuration.
- Fix minor whitespace formatting in `libs.versions.toml`.
- Add `statusBarsPadding` to the search top bar in `SearchScreen` to improve edge-to-edge support.
- Add a `modifier` parameter to the search top bar widget to allow for flexible layout adjustments.
- Remove the `kotzilla.sdk.compose` dependency from `composeApp`.
- Increment `versionName` to `1.5` in the build configuration.
- Upgrade Kotzilla version to 2.1.3 in the version catalog.
- Apply the Kotzilla plugin and add the SDK dependency to `composeApp`.
- Add the `kotzilla.json` configuration file to the `composeApp` module.
- Initialize Kotzilla monitoring in `AppModule.kt` and set `useIosCrashReport` to `false`.
- Add a new "Kotzilla Dsym" shell script build phase to the iOS Xcode project to automate Dsym uploads.
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 6, 2026

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ KOTLIN detekt yes no no 4.32s
✅ MARKDOWN markdownlint 6 0 0 0.64s
✅ YAML prettier 6 0 0 0.76s

See detailed report in MegaLinter reports

MegaLinter is graciously provided by OX Security

@gabrielbmoro gabrielbmoro marked this pull request as ready for review May 6, 2026 23:15
@gabrielbmoro gabrielbmoro requested a review from a team as a code owner May 6, 2026 23:15
@gabrielbmoro gabrielbmoro merged commit 1f32fe2 into master May 7, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Kotzilla Setup - Gradle 9

2 participants