Jared Burrows
Jared Burrows
Thanks! Add this to one of the tests?
I believe just as @dweebo said, this is a Spoon 2 problem. Locally, I have use test size via `@SmallTest`, `@MediumTest` and `@LargeTest`.
Were you able to work around this @hram?
What is the use case for applying this in the `buildSrc`? To make it shared across projects?
This works after I release a new version fixing the build from this change https://github.com/jaredsburrows/gradle-spoon-plugin/issues/121 / https://github.com/jaredsburrows/gradle-spoon-plugin/pull/301: ``` plugins { `kotlin-dsl` } repositories { mavenCentral() gradlePluginPortal() google() maven { url...
This should be in your `$buildDir/reports/spoon-out/debug/` directory. Are checking the right directories?
Are you saying that these tests are validating this already? https://github.com/jaredsburrows/gradle-spoon-plugin/blob/master/src/test/groovy/com/jaredsburrows/spoon/SpoonPluginSpec.groovy#L79
This looks like this is used - https://oss.sonatype.org/content/repositories/snapshots/com/squareup/spoon/spoon-runner/2.0.0-SNAPSHOT/spoon-runner-2.0.0-20181002.234303-49.pom. This `kotlin-argparser` dep is located in maven central - https://central.sonatype.dev/artifact/com.xenomachina/kotlin-argparser/2.0.7/versions.
This is fixed locally and I published a new snapshot.
@OliverCulleyDeLange Do you have `androidTests` in your `com.android.test` project? I found an example project here: https://github.com/googlesamples/android-testing-templates. I can look into adding support for this.