convert to library, gradle