replaced deprecated grdle Compile with JavaCompile