I've been moving all of my projects to this style the past few months. Been a couple of speed bumps here and there but nothing blocking.
d
Daniel B Duval
09/21/2022, 1:49 PM
Same here as well. Felt like it was the easiest path to move to the plug in block as well include builds for build conventions plug ins
The build conventions plug ins has been helpful for using the onVariants due to changes internal to AGP of adding tasks like generate test code coverage and check code coverage.
c
Colton Idle
09/21/2022, 3:00 PM
intersting! it looks so foreign to me. wonder why the change. thanks everyone
t
tony
09/21/2022, 5:02 PM
it's all about centralization and classloader isolation. Putting the buildscript dependencies in the root means every subproject has the same classpath, which can lead to unnecessary task invalidation