adding sourceCompatibility and encoding config to build.gradle
Merge pull request #4 from miho/gradle-fixes

adding sourceCompatibility and encoding config to build.gradle