2018/07/26
by wanghao
当使用了SpringBoot的起步依赖时,Gradle倾向于使用库的最新版本,所以要将起步依赖中的某个依赖替换成老版本时,
需要先排除掉起步依赖中的那个版本 例:
compile('org.springframework.boot:spring-boot-starter-web'){
exclude group:'com.fasterxml.jackson.core'
}
compile('com.fasterxml.jackson.core:jackson-databind:2.3.1')
tags: Study - Gradle
近期评论