IDEA中使用Gradle的时候遇到以下异常:
* 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.
解决办法:
IDEA中File-Settings-Build,Execution,Deployment-Build Tools-Gradle,修改Gradle的Build和Run方式为IDEA。