use mergeResources instead of javaCompile for library projects since compiling the instrumentations tests java code is not needed