Skip to content

Suporte para Koin Annotations#72

Open
gabrielbmoro wants to merge 2 commits intomasterfrom
feature/support-kmp-annotations
Open

Suporte para Koin Annotations#72
gabrielbmoro wants to merge 2 commits intomasterfrom
feature/support-kmp-annotations

Conversation

@gabrielbmoro
Copy link

Descrição

  • Suporte para Koin Annotations

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

- Upgrade Koin to version 4.2.0 and Android Gradle Plugin to 8.9.1.
- Update `compileSdkVersion` and `targetSdkVersion` to 36.
- Implement KSP-based Koin Annotations setup in `build-logic`.
- Migrate `feature-search` DI from manual DSL to Koin Annotations (`@Module`, `@Factory`, `@KoinViewModel`).
- Update `StreamsCarousel` to use `app.cash.paging` imports.
- Add `statusBarsPadding` to `ListStreamsScreen` and update `MainActivity` window configuration.
- Fix Koin compiler library reference in version catalog.
- Replace `@ExternalDefinition` with `@Provided` for `HttpClient` in `SearchStreamServiceImpl`.
- Add `@Provided` annotation to `HttpClient` dependency in `MostPopularMoviesServiceImpl`.
@gabrielbmoro gabrielbmoro requested a review from a team as a code owner March 20, 2026 12:33
@github-actions
Copy link

🦙 MegaLinter status: ❌ ERROR

Descriptor Linter Files Fixed Errors Warnings Elapsed time
⚠️ KOTLIN detekt yes 56 no 5.12s
❌ MARKDOWN markdownlint 6 84 0 0.76s
⚠️ YAML prettier 6 1 2 0.81s

See detailed report in MegaLinter reports

MegaLinter is graciously provided by OX Security

@Factory(binds = [MostPopularMoviesService::class])
class MostPopularMoviesServiceImpl(
private val client: HttpClient
@Provided private val client: HttpClient
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HttpClient is defined by dsl approach

}

ksp {
arg("KOIN_CONFIG_CHECK", "true")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If true, anything weird will fail in compile time

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.

Ajustar a tela pra respeitar o status bar

2 participants