문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 | 다음 판 양쪽 다음 판 | ||
gradle:web [2014/04/14 11:30] kwon37xi [war 태스크] |
gradle:web [2014/08/04 15:18] kwon37xi [의존성 관리] |
||
---|---|---|---|
줄 25: | 줄 25: | ||
// 기본 Servlet API | // 기본 Servlet API | ||
dependencies { | dependencies { | ||
+ | providedCompile ' | ||
+ | } | ||
+ | </ | ||
+ | |||
+ | 특정 라이브러리가 servlet-api를 compile 스코프로 이미 가지고 있는 상황에서는, | ||
+ | <code groovy> | ||
+ | dependencies { | ||
+ | compile(' | ||
+ | group: ' | ||
+ | } | ||
providedCompile ' | providedCompile ' | ||
} | } |