title: Selenium in build.gradle failed after Migrating code to AndroidX
body: <p>When i go to upgrade my project libraries to AndroidX. Migration to AndroidX is done. </p>
  
  <p>Now on this line in build.gradle: </p>
  
  <pre><code>compileOnly files('libs/selenium-server-standalone-3.13.0.jar')
  </code></pre>
  
  <p>I am getting this build error</p>
  
  <blockquote>
    <p>What went wrong: Execution failed for task ':app:javaPreCompileDebug'.</p>
    
    <blockquote>
      <p>Could not resolve all files for configuration ':app:debugCompileClasspath'.
      Failed to transform file 'selenium-server-standalone-3.13.0.jar' to match attributes {artifactType=processed-jar} using transform
      JetifyTransform
      Failed to transform '/home/sajid/Git/project-android/app/libs/selenium-server-standalone-3.13.0.jar'
      using Jetifier. Reason: duplicate entry: META-INF/DEPENDENCIES. (Run
      with --stacktrace for more details.)</p>
    </blockquote>
  </blockquote>
  
  <p>What should i do to make selenium work.</p>
  
  <p>For more information i am using selenium for appium UI Tests. And i am adding Appium as:</p>
  
  <pre><code>    compileOnly 'io.appium:java-client:6.1.0'
  compileOnly files('libs/java-client-6.1.0.jar')
  </code></pre>
  
  <p>Have a look please where i am wrong?</p>