用exclude 方法去掉重复的
compile('com.squareup.retrofit2:converter-gson:2.1.0') {
exclude group: 'com.google.code.gson'
exclude group: 'com.squareup.okhttp3'
}
博客提到使用exclude方法去掉重复内容,在信息技术中,去重操作是常见的数据处理需求,该方法可有效解决数据重复问题。
用exclude 方法去掉重复的
compile('com.squareup.retrofit2:converter-gson:2.1.0') {
exclude group: 'com.google.code.gson'
exclude group: 'com.squareup.okhttp3'
}
9181

被折叠的 条评论
为什么被折叠?