exclude unnecessary libraries in the final jar.