collect the lib resource

collect the lib resource