Separate build-app and build-servlet, since the app has fewer external dependencies