You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I for example have a conventions plugin project using `kotlin-dsl` plugin, it should have the version embedded in Gradle.
You usually do not declare that version in some centralized place, but use the `kotlin-dsl` plugin accessor that has the matching version indeed hard-coded.
The same for dependencies that should use the embeddedKotlin version of Gradle.
And also if you includeBuild a build and depend on it.
All these are shown as hardcoded versions in the task result and it suggests to use refreshVersionsMigrate.
A facility (unless I just missed it) to configure those dependencies that are ok to be hardcoded would be nice to see if really a hardcoded one is added. Also because it says there are 13 hard-coded versions (which seems to be too much for that project) and only the first three are shown.
The text was updated successfully, but these errors were encountered:
Vampire
changed the title
Possibility to exclude dependencies from hard-coded recognition
Possibility to exclude dependencies from hardcoded recognition
Feb 6, 2023
If I for example have a conventions plugin project using
`kotlin-dsl`
plugin, it should have the version embedded in Gradle.You usually do not declare that version in some centralized place, but use the
`kotlin-dsl`
plugin accessor that has the matching version indeed hard-coded.The same for dependencies that should use the
embeddedKotlin
version of Gradle.And also if you
includeBuild
a build and depend on it.All these are shown as hardcoded versions in the task result and it suggests to use
refreshVersionsMigrate
.A facility (unless I just missed it) to configure those dependencies that are ok to be hardcoded would be nice to see if really a hardcoded one is added. Also because it says there are 13 hard-coded versions (which seems to be too much for that project) and only the first three are shown.
The text was updated successfully, but these errors were encountered: