I had an issue with using MongoDB Morphia on Android which led me to this post where there is a sugestion to "exclude the cglib dependencies" from my app. How would I do that?
Asked
Active
Viewed 125 times
1 Answers
0
By not adding it to the class path at runtime.
In Maven, you can exclude dependencies by the <excludes>
tag within the dependency declaration.

Rafael Winterhalter
- 42,759
- 13
- 108
- 192
-
Ups, added it as a tag but didn't specify on the description. I am using Gradle. – eriel marimon Aug 01 '18 at 00:21
-
Actually I had indeed said it was an "Android app" but someone had edited it out. – eriel marimon Aug 01 '18 at 00:25