我正在尝试解决我的 gradle 应用程序中的依赖冲突。我的顶级 build.gradle 是:
archivesBaseName = 'message-sender-rest'
apply plugin: 'paas-publish'
dependencies {
compile(project(':message-sender-api'))
compile(libraries.springBoot)
compile(libraries.loggingRuntime)
compile(libraries.integration)
compile(libraries.serviceFrameworkServer)
compile(libraries.serviceFrameworkApp)
compile(libraries.serviceFrameworkSpringIntegration)
testCompile(libraries.testing)
testCompile(libraries.springTest)
testCompile(libraries.activeMqBroker)
}
Run Code Online (Sandbox Code Playgroud)
当我尝试运行时gradle dependencyInsight --configuration compile,出现以下错误:
* What went wrong:
Configuration with name 'compile' not found.
Run Code Online (Sandbox Code Playgroud)
有一大堆较低级别的 gradle 文件,但我想应该只使用顶级文件,不是吗?
当我尝试时gradle dependencies,它几乎什么都不返回:
gradle dependencies
dockerBuild tag: dev.docker.orbitbenefits.capita/orbit/message-sender-rest:bOD-9656-ConfigServer-n0
:dependencies
------------------------------------------------------------
Root project
------------------------------------------------------------
No configurations
BUILD SUCCESSFUL
Run Code Online (Sandbox Code Playgroud)
知道我可能缺少什么吗?
Nes*_*aev 11
我没有指定要检查的模块:该项目有一个子项目 ( module message-sender-server)。指定模块名称实际有效:
gradlew message-sender-server:dependencyInsight --dependency webmvc
| 归档时间: |
|
| 查看次数: |
3123 次 |
| 最近记录: |