Dollar General planning to build a warehouse in Janesville