title: Removing xml annotations from Android classes using Proguard
body: <p>I have a project set up in Android Studio that is relying on a jar file that is imported from a remote repository by Gradle. This means no "/libs" folder.</p>
  
  <p>This jar file contains a bunch of JAXB objects with xml annotations that look like this:</p>
  
  <pre><code>@XmlAccessorType(XmlAccessType.FIELD)
  @XmlType(name = "Accounts", propOrder = {
      "account"
  })
  </code></pre>
  
  <p>However, on the Android side, I am using Gson to serialize these objects. I didn't think these annotations would be a problem, but Gson is detecting them via reflection. I would like to remove them using ProGuard, but have no idea where to start, or if it's even possible.</p>
  
  <p>I think I want to use the -libraryjars flag in my configuration file, but don't know how to get a dynamic path to a jar file imported by Gradle. The documentation for using ProGuard for Android hasn't been very helpful so far.</p>