I tried to use instrumentationArgs as suggested in the documentation of spoon-gradle-plugin
instrumentationArgs = ["foo=bar", "name=value"]
I had the error:
Execution failed for task ':app:spoonDebugAndroidTest'.
No signature of method: com.squareup.spoon.SpoonRunner$Builder.setInstrumentationArgs() is applicable for argument types: (java.util.ArrayList) values: [[notAnnotation=com.netpulse.mobile.utils.SmokeTest, coverage=true]]
Possible solutions: setInstrumentationArgs(java.util.Map)
I did some investigation and found that in Spoon instrumentationArgs is a Map
SpoonRunner
I tried to use
instrumentationArgs
as suggested in the documentation of spoon-gradle-plugininstrumentationArgs = ["foo=bar", "name=value"]
I had the error:
I did some investigation and found that in Spoon instrumentationArgs is a Map SpoonRunner
Can you please fix this mismatch?