I'm currently working something similar, Marathiboy. In my research, due to how command line works, and that it only loads the test project provided in the CLI parameters. There's two ways I've found around this:
- Combine the Read/Write projects into one combined project. This may bring about overhead for having to maintain multiple versions of a project if you have to maintain separate projects for other reasons.
- Utilize a properties file instead of a groovy script. This should be feasible, but would take some effort to figure out. I haven't had time to do this, but it's on my radar.
I, too, am curious if anyone knows a way around this, as asked. Based on my research so far, the two options above are all I have found so far.