Use gradle license plugin to apply licence to all java files.