Added spockAndroidJar Task
This task creates a jar file that has java.beans package replaced with the grooid (groovy for android) jar's version of java.beans
Relates to #60
~~I realized this doesn't get added to the task dependency chain, I'll add that in.~~
~~Also, this does not get included with the publishing jars. I will try to get that figured out but some advisement would be helpful.~~
Is the new jar required for on-device testing?
@robfletcher Sorry I haven't checked in on this until now. Yes, it would be helpful for on device testing, but is not required. It would allow for automatic getters and setters of java classes to be mocked.
As of right now if I have a getValue method, for example, I could not mock and provide interactions for it by writing something like value.value >> 1.
Here is everything that currently does work.
I am actually thinking that I could include spock in that library with jarjar and achieve this same result.
On another note, what would you think about adding the android-spock library to the spock orginization on github?
I realized that was a long winded answer 😄
The short answer is yes, this is a jar that would allow on device spock tests to run.
There hasn't been any additional show of support for this, so I'm going to close it as unplanned.