Build process is now gradle, adding Platform detector and unit tests