fixed issue with gradle compiling injected dependency