我想删除:
"com.vaadin.external.google:androidjson:0.0.20131108.vaadin1“
从我的类路径。在依赖树中,我看到这个依赖项来自:
'org.springframework.boot:spring-boot-configuration-rocessor:1.5.8.RELEASE'.
因此,我将其更改为:
compile ('org.springframework.boot:spring-boot-configuration-processor:1.5.8.RELEASE'){
exclude group: 'com.vaadin.external.google', module: 'android-json'
}我的问题是,依赖关系仍然会被拉出来:
...
+--- org.springframework.boot:spring-boot-configuration-processor:1.5.8.RELEASE
| \--- com.vaadin.external.google:android-json:0.0.20131108.vaadin1
...我做错了什么?
发布于 2017-10-26 15:35:26
您可能也有需要排除的测试依赖项。在脚本中包括以下内容:
testCompile("org.springframework.boot:spring-boot-starter-test") {
exclude group: 'com.vaadin.external.google', module: 'android-json
'}https://stackoverflow.com/questions/46939579
复制相似问题