add gradle based build script