If you getting this error:
NoClassDefFoundError: groovy/xml/XmlSlurper
while building your app through Gradle, most likely that means that some of your Gradle plugins are not compatible with your version of Gradle. Consider changing either Gradle to the appropriate version or a problematic Gradle plugin.
In my case, the latest com.github.ben-manes.versions
plugin version was not compatible with my Gradle 6.x.
If you still have any questions, feel free to ask me in the comments under this article or write me at promark33@gmail.com.
If I saved your day, you can support me 🤝
thanks, interesting read
not working