The gradle dependencies help

Image this situation . I am developing an android project called ProjectA. The ProjectA depends a jar called depend.jar. Now I just use depend.jar to help compile the ProjectA and no need to export to the apk. How should I do. By the way,as all we know it’s easy to achieve it in Eclipse.