Make gdapi-java-server optional module in build