Slackbot
05/13/2022, 7:47 PMChris Lee
05/13/2022, 7:49 PMefemoney
05/13/2022, 7:52 PMChris Lee
05/13/2022, 7:57 PMefemoney
05/13/2022, 8:05 PMcompileOnly
on its AGP dependency makes it so that only the IPB classes and not agp are contributed but…
• Applying the android plugin at the root level build.gradle with apply(false) will put the AGP classes in the root and subprojects script classpaths, and it should all work
Obvs this is wrong but I’ll appreciate some insight into why the above is wrong then maybe how to fix it
For added context: if I switch AGP dependency to implementation
it can find the BuildConfigField class but then it raises another error that AGP is already on the classpath with an unknown version so I cannot reapply it in my root build.gradle. My root build.gradle does some common setup and I’m a bit hesitant to move that.Chris Lee
05/13/2022, 8:11 PM