remove deprecated method add() and replace it with create(). create task 'compile' which calls 'compileJava'