title: Data binding in library module
body: <p>I have project with two modules: library and example. Everything working fine since I would like to use data binding in my library module. </p>
  
  <p>When I try to use class in example module with databinding usage app crashes with:</p>
  
  <pre><code>Caused by: java.lang.NoClassDefFoundError: Failed resolution of: 
  Lcom/app/test/databinding/TextItemBinding;
  </code></pre>
  
  <p>I'm using <code>gradle 2.1.2</code> and also tested with <code>2.2.0-beta2</code>.</p>
  
  <p>Both modules has import for:</p>
  
  <pre><code>dataBinding {
    enabled true
  }
  </code></pre>
  
  <p>When I move my code of <code>DataBinding</code> to single module project code is working correctly. </p>
  
  <p>Has anyone had similar problem?</p>