-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Allow to share dependency versions #16077
Comments
Possible solutions:
or
|
Most of what you are asking for is already possible. The actually missing thing here that I just was about to create an issue about before I have seen you created this with my work-around is, that you can (re-)use a version declaration from a catalog for plugin versions. In the TOML file it is not possible at all to re-use a declared version for plugin versions. In a programmatically declared version catalog you can use either of the two code snippets from me that Igor quoted, which is not all too nice though. |
The version catalog feature will be released in Gradle 7.0 without support for plugins, see #16078. |
This issue has been fixed - plugin dependencies can be defined in the version catalog. |
This is improvement for incubated version catalog feature of Gradle 7M1
Expected Behavior
Allow to define dependency version, so it can be easily shared between
kotlin-reflect
andJetPack Navigation
both require gradle plugin and dependency with the same version):Current Behavior
Dependency version defined in version catalog can only be shared in context of version catalog
Context
Goals here are:
More:
https://gradle-community.slack.com/archives/CAD95CR62/p1612804019033000
The text was updated successfully, but these errors were encountered: