73 lines
2.1 KiB
Groovy
73 lines
2.1 KiB
Groovy
plugins {
|
|
id 'org.springframework.boot' version '3.2.1'
|
|
id 'io.spring.dependency-management' version '1.1.4'
|
|
id 'java'
|
|
}
|
|
|
|
group = 'com.pms'
|
|
version = '0.0.1-SNAPSHOT'
|
|
|
|
java {
|
|
sourceCompatibility = '17'
|
|
}
|
|
|
|
configurations {
|
|
compileOnly {
|
|
extendsFrom annotationProcessor
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jdbc'
|
|
implementation 'org.springframework.boot:spring-boot-starter-validation'
|
|
implementation 'org.springframework.boot:spring-boot-starter-actuator'
|
|
|
|
// MyBatis
|
|
implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:3.0.3'
|
|
|
|
// PostgreSQL
|
|
runtimeOnly 'org.postgresql:postgresql'
|
|
|
|
// Jakarta/Java EE (Spring Boot 3에서는 jakarta 네임스페이스 사용)
|
|
implementation 'jakarta.servlet:jakarta.servlet-api:6.0.0'
|
|
|
|
// Apache Commons
|
|
implementation 'org.apache.commons:commons-lang3:3.12.0'
|
|
implementation 'commons-beanutils:commons-beanutils:1.9.4'
|
|
|
|
// Apache POI (Excel 처리)
|
|
implementation 'org.apache.poi:poi:5.2.4'
|
|
implementation 'org.apache.poi:poi-ooxml:5.2.4'
|
|
implementation 'org.apache.poi:poi-scratchpad:5.2.4'
|
|
|
|
// JXL (Excel 처리 - 구버전)
|
|
implementation 'net.sourceforge.jexcelapi:jxl:2.6.12'
|
|
|
|
// JSON 처리
|
|
implementation 'com.googlecode.json-simple:json-simple:1.1.1'
|
|
implementation 'com.google.code.gson:gson:2.10.1'
|
|
|
|
// Mail 기능
|
|
implementation 'org.springframework.boot:spring-boot-starter-mail'
|
|
|
|
// File Upload (COS Library 대체)
|
|
implementation 'commons-fileupload:commons-fileupload:1.5'
|
|
implementation 'commons-io:commons-io:2.11.0'
|
|
|
|
// Lombok
|
|
compileOnly 'org.projectlombok:lombok'
|
|
annotationProcessor 'org.projectlombok:lombok'
|
|
|
|
// Test
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
testImplementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter-test:3.0.3'
|
|
}
|
|
|
|
tasks.named('test') {
|
|
useJUnitPlatform()
|
|
} |