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

Use Version Catalogs and lib.versions.toml to Manage Gradle dependencies #2619

Open
hantsy opened this issue Sep 22, 2024 · 2 comments
Open
Assignees

Comments

@hantsy
Copy link

hantsy commented Sep 22, 2024

Check the Gradle docs, https://docs.gradle.org/current/userguide/platforms.html

Currently the generated code, micronautVersion = xxx is a property in the gradle.properties.

The problem when running it with Github dependabot, the versions can not be scanned and updated. But it works well with the new Gradle gradle/lib.versions.toml.

@melix
Copy link
Contributor

melix commented Nov 20, 2024

You can set the version in the catalog. See https://micronaut-projects.github.io/micronaut-gradle-plugin/latest/#_selecting_the_micronaut_platform_version

@hantsy
Copy link
Author

hantsy commented Nov 21, 2024

Thanks.
I hope to use it in the generated project template(starter) by default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants