Status Update
Comments
be...@getbring.com <be...@getbring.com> #2
Do you have a repro project that you could share with us?
There should be no need to excluding any dependencies: we automatically remove them from the test APK if they are in the main APK.
There should be no need to excluding any dependencies: we automatically remove them from the test APK if they are in the main APK.
uc...@google.com <uc...@google.com> #3
Thank you for this feedback. The team may reach out for more information on triaging or reproducing this issue.
ls...@google.com <ls...@google.com> #4
Kotlin classes are not being inserted in the classpath before running junit tests. It should be fixed once bug 38454212 is fixed.
Description
Android Studio 3.0 Canary 1
Build #AI-171.4010489, built on May 16, 2017
JRE: 1.8.0_112-release-b736 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.10.0-21-generic
Version of Gradle Plugin: 3.0.0-alpha1
Version of Gradle: 4.0
Version of Java: 1.8.0_131
OS: Ubuntu 17.04
Steps to Reproduce:
1. Write a simple data class in Kotlin
2. In a Java unittest, instantiate an instance of the Kotlin data class
3. Run test and a NoClassDefFoundException occurs
See the demo project to reproduce