title: JAXB conflicting with dataBinding on IDEA + Android plugin
body: <p><strong>Error</strong></p>
  
  <blockquote>
    <p>org.gradle.execution.MultipleBuildFailures: Build completed with 1 failures.
       Caused by: org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:compileDebugJavaWithJavac'. Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException</p>
  </blockquote>
  
  <p>I'm getting this this error when I enable dataBinding and try to build on IntelliJ IDEA, building with <code>gradlew build</code> works, and on Android Studio works too. </p>
  
  <p><strong>Versions</strong> </p>
  
  <p>Gradle version: 5.1.1</p>
  
  <p>IDEA: 2019.1.3</p>
  
  <p>Android plugin: (latest as of 18 jun)</p>
  
  <p>Java: 8</p>
  
  <hr>
  
  <p>To reproduce, create a project on Android Studio, enable dataBinding, and open it on IDEA and try to build.</p>
  
  <p>Does anyone know why these conflicts are happening?</p>