gradle: scan for the cnf project, do not hard-code it

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>