Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate dependencies to Version Catalog #359

Open
alexander-yevsyukov opened this issue Apr 23, 2022 · 1 comment
Open

Migrate dependencies to Version Catalog #359

alexander-yevsyukov opened this issue Apr 23, 2022 · 1 comment
Labels
dependencies An issue on updating dependencies performence Making things go easier and faster

Comments

@alexander-yevsyukov
Copy link
Contributor

alexander-yevsyukov commented Apr 23, 2022

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
Copy link
Contributor Author

@armiol, @tripolkaandrey, FYI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies An issue on updating dependencies performence Making things go easier and faster
Projects
None yet
Development

No branches or pull requests

2 participants