Only build main class for uberjar.