There is no distinction with regular tests; disable debugIncludesTests if you don't want test code included in "normal" compile
On Tue, Apr 29, 2014 at 11:47 AM, Alex Polozov <[email protected]>wrote: > Yes, I read this. However, I thought that it does not affect regular unit > tests, as described in https://github.com/pfn/android-sdk-plugin/issues/45(as > opposed to "android:test")? You said in that discussion that "% > "test" should work if you're using `test` and not `android:test`". Am I > missing something? > > On Tuesday, April 29, 2014 6:28:59 AM UTC-7, pfn wrote: >> >> >> https://github.com/pfn/android-sdk-plugin/blob/ >> master/README.md#new-features-in-12x-last-version-1214 >> -- >> Sent from my phone >> On Apr 29, 2014 2:28 AM, "Alex Polozov" <[email protected]> wrote: >> >>> Hello, >>> I am trying to setup a basic Scaloid application skeleton with >>> android-sdk-plugin. Everything works great, I can generate an IDEA project, >>> build/deploy everything with SBT, etc. However, as soon as I add some unit >>> tests in the layout, SBT for some reason includes them in my "sbt compile" >>> process, resulting in multiple errors, because ScalaCheck is included only >>> in "test" configuration. Note that it happens in "sbt compile" and "sbt >>> test" (which tries to recompile everything first), I'm not even talking >>> about "android:test" here. >>> If I remove all references to android-sdk-plugin from Build.scala, "sbt >>> compile" runs without any complaints. >>> >>> I showed all the logs, layout, and file contents here: >>> https://gist.github.com/apskim/074ec21221ef0034d917 >>> >>> Thank you for any help! >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "scala-on-android" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- > You received this message because you are subscribed to the Google Groups > "scala-on-android" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "scala-on-android" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
