Switch to gradle

Signed-off-by: Francis Galiegue <fgaliegue@gmail.com>