This message was deleted.
# dependency-management
s
This message was deleted.
a
I think it is the same problem as with usage of libs in buildSrc
j
but I am not using plugin aliases inside
buildSrc
, I am adding the plugins as dependencies in
buildSrc/build.gradle.kts
, so they are added to the classpath, then later, in a normal project, I try to do
alias(libs.plugins.whatever)
and it doesn't work. I would expect this to work in 7.4
Personally I would prefer to lift the need of adding a version there like in a normal dependency inside
[libraries]
, because so, you can define aliases for your plugins inside included builds that are not generating accessors (not
buildSrc
). @melix when you created this feature what was the reason to force the version?
l
See https://github.com/gradle/gradle/issues/20084 and the linked issue. We have not found a satisfying API for this but decided it was not blocking for marking the feature as stable
👍 1