Spring framework와 MYSQL, mybatis 등이 설정됨.
파일내용
apply plugin: 'java'
apply plugin: 'eclipse-wtp'
apply plugin: 'war'
compileJava {
options.encoding = "UTF-8"
sourceCompatibility = 1.8
}
eclipse {
wtp {
facet {
facet name: 'jst.web', version: '3.1'
facet name: 'jst.java', version: '1.8'
}
}
}
repositories {
mavenCentral()
}
dependencies {
compile 'mysql:mysql-connector-java:5.1.37'
compile 'org.mybatis:mybatis:3.3.0'
compile 'org.mybatis:mybatis-spring:1.2.3'
//compile 'org.springframework:spring-context:4.2.3.RELEASE'
//compile 'com.oracle:ojdbc14:10.2.0.4.0'
compile 'org.springframework:spring-webmvc:4.2.3.RELEASE'
compile 'org.springframework:spring-jdbc:4.2.3.RELEASE'
compile 'commons-dbcp:commons-dbcp:1.4'
compile 'jstl:jstl:1.2'
compile 'commons-fileupload:commons-fileupload:1.3.1'
compile 'net.coobird:thumbnailator:0.4.8'
compile 'org.imgscalr:imgscalr-lib:4.2'
compile 'org.reflections:reflections:0.9.10'
compile 'log4j:log4j:1.2.17'
compile 'com.fasterxml.jackson.core:jackson-databind:2.6.4'
providedCompile 'javax.servlet:javax.servlet-api:3.1.0'
}
'프로그래밍 > 설치 및 설정방법' 카테고리의 다른 글
Bower 설정방법 (0) | 2016.06.02 |
---|---|
Bower 설치 (0) | 2016.06.02 |
Gradle을 이용한 프로젝트 만들기 (0) | 2016.06.01 |
Gradle 설치 (0) | 2016.06.01 |