当前的gradle版本
再项目build.gradle文件中增加
报错:
* What went wrong:
A problem occurred evaluating project ':demo'.
> Could not find method leftShift() for arguments [build_etrtnzca6wfzwtkcqiik5qudx$_run_cl
osure3@2254893d] on task ':demo:hello' of type org.gradle.api.DefaultTask.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to
get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 2s
原因:
<<在新版本中被弃用