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.