Fixed issues #3 and #4

Updated gradle config with recent versions numbers and syntax