FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':admin-service:compileJava'.
Compilation failed; see the compiler error output for details.
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
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
See https://docs.gradle.org/4.8.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 40s
1 actionable task: 1 executed
17:04:22: Task execution finished 'OssAdminApplication.main()'.
这不提示告诉你编译错误了吗,根据具体错误提示改代码就行了。
gradle assemble --debug
看看更详细错误提示。