How can I force transitive dependency for plugin?
# community-support
e
How can I force transitive dependency for plugin?
m
Make an included build and put all your plugins in
build-logic/build.gradle.kts
. You can then use all the classic dependency management APIs
e
Ah oke. Thanks!
m
There might be other ways but I like that way, less things to keep in my brain. Plus any serious build will require an included-build at some point so you'll have the infrastructure ready
v
Even without extra build logic build you just use the classical API, just within
buildscript { ... }
1
So you can just there add a dependency constraint for the transitive dependency
e
Forced it over buildscript
👌 2