Skip to content

Refactor build logic to use type-safe version catalog accessors#85

Merged
gabrielbmoro merged 1 commit intomasterfrom
gmoro/type-safe-accessors-in-build-logic
May 3, 2026
Merged

Refactor build logic to use type-safe version catalog accessors#85
gabrielbmoro merged 1 commit intomasterfrom
gmoro/type-safe-accessors-in-build-logic

Conversation

@gabrielbmoro
Copy link
Copy Markdown
Collaborator

Build-logic using type-safe accessors

  • Adding typesafe accessors support for our build-logic

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?😛

- Remove manual extension functions for dependency handling and version catalog lookups in `DependecyHandlerExtensions.kt` and `VersionCatalog.kt`.
- Update convention plugins to use `the<LibrariesForLibs>()` for accessing the version catalog.
- Replace manual string-based library lookups and custom extensions with type-safe accessors (e.g., `libs.koin.core`, `libs.dokka`).
- Configure `build-logic/build.gradle.kts` to enable type-safe accessors within the build logic module.
@gabrielbmoro gabrielbmoro requested a review from a team as a code owner May 3, 2026 13:34
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 3, 2026

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ KOTLIN detekt yes no no 4.76s
✅ MARKDOWN markdownlint 6 0 0 0.71s
✅ YAML prettier 6 0 0 0.74s

See detailed report in MegaLinter reports

MegaLinter is graciously provided by OX Security

@gabrielbmoro gabrielbmoro merged commit 77ceae8 into master May 3, 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.

2 participants