title: Android CleanArchitecture Domain module and AutoValue
body: <p>i want to use clean architecuture in a new app and so far it works great. I structured the app into 3 modules (presentation, data and domain) like in the following example: <a href="https://github.com/android10/Android-CleanArchitecture" rel="nofollow noreferrer">Android-CleanArchitecture</a></p>
  
  <p>There are some entities in my domain module. One of them is User.</p>
  
  <pre><code>    public class User {
  
          private String name;
  
          public String name () {
              return name;
          }
  
          public static class Builder {
              ...
          }
      }
  </code></pre>
  
  <p>I want to use AutoValue with some extensions to get rid of boilerplate code. One of the extensions is <a href="https://github.com/rharter/auto-value-parcel" rel="nofollow noreferrer">AutoValue Parcel</a>. Now i need to implement the android.os.Parceable interface which is a part of android and can not be used in my domain module because it is a Android dependency.</p>
  
  <p>What is the correct way to implement this?</p>