Java spring clound eureka服务器依赖项错误gradle intellij
我无法将Java spring clound eureka服务器依赖项错误gradle intellij,java,spring-boot,spring-cloud-netflix,Java,Spring Boot,Spring Cloud Netflix,我无法将spring cloud netflix eureka服务器添加为gradle项目(IDE Intellij)中的依赖项 请在下面找到gradle构建消息 > Configure project : The compile configuration has been deprecated for dependency declaration. This will fail with an error in Gradle 7.0. Please use the im
spring cloud netflix eureka服务器添加为gradle项目(IDE Intellij)中的依赖项
请在下面找到gradle构建消息
> Configure project : The compile configuration has been deprecated for dependency declaration. This will fail with an error in Gradle 7.0. Please use the implementation configuration instead. Consult the upgrading guide for further information: https://docs.gradle.org/6.4.1/userguide/upgrading_version_5.html#dependencies_should_no_longer_be_declared_using_the_compile_and_runtime_configurations
at build_5fewyf5k4gqf0wzmewce4q3ow$_run_closure3.doCall(D:\AngularCourse\core-services\build.gradle:30)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
正如错误消息所示,Gradle 7.0中不推荐使用compile
配置。请改用实现
检查文档-
> Configure project : The compile configuration has been deprecated for dependency declaration. This will fail with an error in Gradle 7.0. Please use the implementation configuration instead. Consult the upgrading guide for further information: https://docs.gradle.org/6.4.1/userguide/upgrading_version_5.html#dependencies_should_no_longer_be_declared_using_the_compile_and_runtime_configurations
at build_5fewyf5k4gqf0wzmewce4q3ow$_run_closure3.doCall(D:\AngularCourse\core-services\build.gradle:30)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)