Changed tasks.withType(Compile) to JavaCompile, since Compile has been depreciated in favor of JavaCompile and was finally removed in 2.0
Merge pull request #39 from shendepu/fix-gradle-compile-depreciation

Changed tasks.withType(Compile) to JavaCompile, since Compile has been d...