SpineEventEngine / config

Dependencies and build configurations shared among subprojects
https://spine.io
Apache License 2.0
2 stars 3 forks source link

Migrate dependencies to Version Catalog #359

Open alexander-yevsyukov opened 2 years ago

alexander-yevsyukov commented 2 years ago

Currently we declare dependencies using Kotlin objects residing under buildSrc/.../io.spine.internal.dependency. While this approach works for us, it has a limitation.

When a dependency is used in both buildSrc/build.gradle.kts and in regular build scripts of a project, we have to manually sync. the declarations for each such dependency to make sure the same version is used.

This limitately mabe be overcome when using the Version Catalog feature recently introduced in Gradle. We can publish a settings plugin from the config project, and then use it as a Maven dependency in other projects.

More info on Version Catalog feature from Cédric Champeau.

alexander-yevsyukov commented 2 years ago

@armiol, @tripolkaandrey, FYI.