안드로이드에서 사용되는 라이브러리의 버전 확인 및 충돌해결방법
원본:
검사
- gradlew app:dependencies
해결
- 버전지정: implementation "org.hamcrest:hamcrest:버전명"
- 모듈제외: implementation("org.hamcrest:hamcrest:버전명") {
exclude group: "org.hamcrest", module: 'hamcrest' }
- 해결방법지정:
android{
configurations.all{
exclude group: 'org.hamcreset', module: 'hamcrest'
resolutionStrategy{
forcedModules = ['asm:asm-all:3.3.1']
}
}
}
댓글 없음:
댓글 쓰기