Add basic gradle library support