문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
gradle:tomcat [2012/10/16 13:57] kwon37xi |
gradle:tomcat [2015/11/07 11:56] kwon37xi |
||
---|---|---|---|
줄 1: | 줄 1: | ||
====== Gradle Tomcat Plugin ====== | ====== Gradle Tomcat Plugin ====== | ||
* [[https:// | * [[https:// | ||
+ | * [[https:// | ||
+ | * Gradle 1.x | ||
+ | * ' | ||
+ | * apply plugin: ' | ||
+ | * Gradle 2.x | ||
+ | * ' | ||
+ | * apply plugin: ' | ||
- | <code groovy> | + | ===== Gretty |
- | apply plugin: ' | + | |
- | </ | + | * Debug 모드 쉽게 지원하는 듯. |
- | + | * https://github.com/ | |
- | ===== 의존성 설정 | + | |
- | <code groovy> | + | |
- | buildscript { | + | |
- | repositories { | + | |
- | add(new org.apache.ivy.plugins.resolver.URLResolver()) { | + | |
- | name = ' | + | |
- | addArtifactPattern ' | + | |
- | } | + | |
- | } | + | |
- | + | ||
- | dependencies { | + | |
- | classpath ' | + | |
- | } | + | |
- | } | + | |
- | + | ||
- | repositories { | + | |
- | mavenCentral() | + | |
- | } | + | |
- | + | ||
- | // For Tomcat | + | |
- | dependencies { | + | |
- | def tomcatVersion = ' | + | |
- | tomcat " | + | |
- | " | + | |
- | " | + | |
- | } | + | |
- | + | ||
- | // For Tomcat 7 | + | |
- | dependencies { | + | |
- | def tomcatVersion = ' | + | |
- | tomcat " | + | |
- | " | + | |
- | tomcat(" | + | |
- | exclude group: ' | + | |
- | } | + | |
- | } | + | |
- | </ | + | |
- | + | ||
- | ===== 태스크들 ===== | + | |
- | * '' | + | |
- | * '' | + | |
- | * '' | + | |
- | * '' | + | |
+ | ===== 주의점 ===== | ||
+ | * 2.2.2 버전의 경우 '' | ||