Add gradle build system

Change-Id: I496cd43476f38bbd35a8e5a496b2c54393ecf672