gradle-spoon-plugin icon indicating copy to clipboard operation
gradle-spoon-plugin copied to clipboard

Spoon plugin can only be applied to android application or library projects

Open OliverCulleyDeLange opened this issue 3 years ago • 3 comments

I'm wondering why this is the case? Is there a technical reason, or is it just unimplemented?

I have an external test project setup using the com.android.test plugin, and therefor i can't apply this lovely plugin.

Happy to attempt a PR if its possible...

OliverCulleyDeLange avatar May 13 '21 11:05 OliverCulleyDeLange

Code here for reference

OliverCulleyDeLange avatar May 13 '21 11:05 OliverCulleyDeLange

@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.

jaredsburrows avatar Apr 24 '22 17:04 jaredsburrows

Yes, i have androidTests in the sense that i have end to end instrumented tests in the project, however they're not in the androidTest source set, they're simply in src/main/java/com.blah...

I also used that example project to set it up, using this as an example.

OliverCulleyDeLange avatar Apr 25 '22 08:04 OliverCulleyDeLange