This message was deleted.
# community-support
s
This message was deleted.
c
IncludedBuild
Using buildSrc is nearly the same, but it has some issues, buildSrc is a special case and any change there will invalidate all the projects.
But you can use precompiled script plugins anyway at a includedBuild
j
Thanks you for your clear answer cristian 🙏 that helped me a lot. Then, is it clear that a plugin with
includedBuild
is preferred to a
precompiled plugin
in most situations? If so, what is the reason for the existence of a
precompiled plugin
? Is it just a deprecated feature?
c
Precompiled plugin is not the same as buildSrc buildSrc is what you shouldn't use (but in some cases is great) Precompiled plugin is about using the same DSL you would use to write gradle build scripts
So, you can use precompiled plugins (either in groovy or kotlin) But what I suggest you is doing it in a includedBuild instead of using buildSrc
j
Oh, I understand !! I misunderstood about the precompiled plugin. Thank you for the detailed explanation! 😃 😃
👍 1
v
Also, in 99% if you use
allprojects { ... }
or
subprojects { ... }
you are doing it wrong. Avoid them wherever you can.
🙏 2
And usually you always can