I want to remove:
"com.vaadin.external.google:androidjson:0.0.20131108.vaadin1"
from my classpath. With the dependency tree I saw that this dependency comes from:
'org.springframework.boot:spring-boot-configuration-rocessor:1.5.8.RELEASE'.
Therefore I changed it to the following:
compile ('org.springframework.boot:spring-boot-configuration-processor:1.5.8.RELEASE'){
exclude group: 'com.vaadin.external.google', module: 'android-json'
}
My issue is that the dependency still gets pulled:
...
+--- org.springframework.boot:spring-boot-configuration-processor:1.5.8.RELEASE
| \--- com.vaadin.external.google:android-json:0.0.20131108.vaadin1
...
What am I doing wrong?
It's likely you have a test dependency as well that needs to be excluded. Include the following in your script:
testCompile("org.springframework.boot:spring-boot-starter-test") {
exclude group: 'com.vaadin.external.google', module: 'android-json
'}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.