sync-engine-shared - Remove reliance on java 8