The build can be configured to generate only the Java stubs.