Update gradle and fix obsolete properties
Fix nullPointerException in sample
Merge pull request #13 from sytolk/master

Update gradle and fix obsolete properties