Add noSnapshot support to example and build.gradle