title: Android test module classloader obfuscation
body: <p>I'm testing my <code>:app</code> module with a specific <code>:test</code> module.</p>
  <p>The test module applies the <code>com.android.test</code> plugin and configures <code>release</code> to test the obfuscated release variant.</p>
  <p>Now both modules use <code>kotlin.Result</code> and obfuscate it with the same name. The difference only is, that <code>:test</code> uses <code>kotlin.Result$Companion</code> while this type is completely striped from the <code>:app</code> APK.</p>
  <p>The problem is, that the test code resolves the obfuscated class from the app dex file instead of looking it up in the test dex file, therefore the companion object is not found.</p>
  <p>How do I make sure to load the correct classes in my test cases?</p>