Closed loganj closed 11 years ago
Quick note: This doesn't allow for library dependencies added in the test project.
The test project dependsOn
the main project. This means that at runtime, when packaging the test project, there's no way to distinguish between dependencies added by the main project and those added by the test project. I have to dex all dependencies, or none, into the test apk. Dexing all dependencies would cause conflicts with the main apk, so for now it's none.
I don't really have a better idea than removing the project dependency relationship, but that would involve touching a lot more than I care to touch at the moment, and would likely leave current builds broken.
@loganj : I fixed everything in my WIP branch, including library dependencies and a much better Proguard config. PR can be closed, I guess?
@fxthomas Sure thing.
This branch does a couple of things.
With this branch, I'm finally able to successfully run some basic
ProviderTestCase2
stuff from sbt.The downside: It's a little bit hacky (note the use of the
skipApkLibDependencies
key).