Gradle项目排除冲突jar包
Gradle项目排除冲突jar包
需要解决冲突的jar包写在compile内
compile ('org.datayoo.moql:moql-engine:1.1.0') {
exclude group: 'org.slf4j', module: 'slf4j-log4j12'
exclude group: 'org.slf4j', module: 'slf4j-api'
}
compile( 'org.datayoo.moql:moql-translator:1.1.0'){
exclude group: 'org.slf4j', module: 'slf4j-log4j12'
exclude group: 'org.slf4j', module: 'slf4j-api'
}
还没有评论,来说两句吧...