gradle에서 특정 라이브러리는 사용하고 싶지 않다면.
configuration-> compile.exclude를 사용한다.
주의할 점은 group, module이 분류되어 있다는 점이다.
configurations {
compile.exclude group: "org.slf4j", module : "slf4j-log4j12"
compile.exclude group: "javax.servlet", module : "servlet-api"
}
'general java' 카테고리의 다른 글
| [spring-boot] hikari 간단 설정 (0) | 2018.04.04 |
|---|---|
| [log] log4j에서 json 로그를 출력하도록 설정하기 (0) | 2018.03.26 |
| [gradle] 특정 라이브러리 제외하기 - compile.exclude (0) | 2018.03.21 |
| [zookeeper] 메모리 설정 (0) | 2018.03.11 |
| okhttp의 기본 connection pool 개수 - 5개 (0) | 2018.01.30 |
| [java] 진짜 쓸만한 json parser (0) | 2017.11.30 |



댓글을 달아 주세요