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

Get grpc or jooq version from this BOM? #4

Open
donbeave opened this issue Nov 7, 2022 · 0 comments
Open

Get grpc or jooq version from this BOM? #4

donbeave opened this issue Nov 7, 2022 · 0 comments

Comments

@donbeave
Copy link

donbeave commented Nov 7, 2022

Hi!

Probably it's a stupid question, is it possible to get the version of grpc or jooq by importing the version catalog from this BOM?

Originally I used micronaut-bom which was the part of the core project, but that version catalog doesn't have grpc/jooq versions, I should import them separately. But import micronaut-grpc-bom or micronaut-sql-bom I need to know the correct version, which is available in micronaut-bom, but which is not available in that Version Catalog. I'm not sure I have described the problem correctly, let me show some code to explain it:

dependencyResolutionManagement {
    val micronautVersion: String by settings

    versionCatalogs {
        register("mn") {
            from("io.micronaut:micronaut-bom:${micronautVersion}")
        }
        // and here I would like to add grpc/sql version catalog, which version I don't know yet, it's available in `micronaut-bom`.
    }
}

Why do I need to know grpc or jooq versions? Because I want to sync these versions with their Gradle plugins and generate sources based on this version.

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

No branches or pull requests

1 participant