support library projects

support library projects by using the androidTest tasks to merge resources
We need some kind of Hybrid here. if we send libraryVariants, instead of testVariants, then the classpath is correct but then the resources are not. maybe we will need to make a whole new class that receives both variants and takes the what it needs from both perhaps?