gradle: need to forking when using the bootclasspath

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