Trim dependent jars to just those required at runtime