Completely moving library to gradle