fixed gradle problems

First of all thanks for this awesome example and tutorial.

I wanted to test it on my machine, i had some gradle problems. I fixed those and updated libgdx version. 
Not sure anyone else will have these problems.

I can't get enough of browsing the source code, code structure is exactly like how i wanted to have.