我正在尝试将 codeartifact aws 库导入我的 gradle 代码段 intellij:
implementation platform('software.amazon.awssdk:bom:2.17.140')
implementation (group: 'software.amazon.awssdk', name: 'codeartifact'){
//Exclude transitive dependency
exclude group: 'io.netty'
}
当我调用模块的“依赖”任务时,我确实看到了依赖:
./gradlew :project:module:dependencies | findstr "codeartifact"
| +--- software.amazon.awssdk:codeartifact:2.17.140 (c)
+--- software.amazon.awssdk:codeartifact -> 2.17.140
+--- software.amazon.awssdk:codeartifact (n)
| +--- software.amazon.awssdk:codeartifact:2.17.140 (c)
+--- software.amazon.awssdk:codeartifact -> 2.17.140
| +--- software.amazon.awssdk:codeartifact:2.17.140 (c)
+--- software.amazon.awssdk:codeartifact -> 2.17.140
| +--- software.amazon.awssdk:codeartifact:2.17.140 (c)
+--- software.amazon.awssdk:codeartifact -> 2.17.140