adopting gradle-based build system