Skip to content

Expose the Koin BOM from its library modules - #2497

Open
GiHoon1123 wants to merge 1 commit into
InsertKoinIO:mainfrom
GiHoon1123:feature/transitive-koin-bom
Open

GiHoon1123 wants to merge 1 commit into
InsertKoinIO:mainfrom
GiHoon1123:feature/transitive-koin-bom

Conversation

@GiHoon1123

Copy link
Copy Markdown

Koin libraries now declare the BOM as an API dependency. A Gradle project that depends on koin-core:4.2.2, for example, can add koin-test-junit5 without specifying its version or importing the BOM separately.

This also applies the BOM constraints to existing builds. In a consumer project, Gradle selected 4.2.2 for a regular 4.1.0 request and kept 4.1.0 when requested with strictly.

I checked the generated POMs for all 24 modules and resolved the test JAR from a separate JVM build. The Gradle setup guide should mention that one versioned Koin dependency is enough to bring in the BOM.

Closes #2462

This branch has not been deployed

No deployments
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.

Automatically Apply BOM

1 participant