Some gradle tuning.

o Set sdk versions in build.gradle
o Update .gitignore.
Merge pull request #23 from entertainyou/master

Extract build parameters from `build.gradle`