This message was deleted.
# community-support
s
This message was deleted.
e
I think the
pluginManagement
part is unnecessary
d
it's only have to be in settings? i'll check, because root/build.gradle's buildscript not working for such case
e
if you're loading both r8 and AGP in root
build.gradle(.kts)
or
buildSrc
then I'd think it might work depending on classpath order but you don't have control over that
if it's in settings, it's definitely in a parent classloader
d
Thanks! For what i've tested: 1. build script in build.gradle - not working (bundled version actually used) 2. variant on first post - working checked by log with version printed during the subject tool.. Found this article with some glimpse on my case: https://dev.to/autonomousapps/abusing-gradle-s-class-loader-hierarchy-for-fun-and-profit-oca Would be grateful if anyone point me on more info around it