You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
72 lines
1.9 KiB
Groovy
72 lines
1.9 KiB
Groovy
|
3 weeks ago
|
plugins {
|
||
|
|
id 'java'
|
||
|
|
id 'org.springframework.boot' version '2.7.18'
|
||
|
|
id 'io.spring.dependency-management' version '1.0.15.RELEASE'
|
||
|
|
}
|
||
|
|
|
||
|
|
group = 'com.example'
|
||
|
|
version = '1.0.0'
|
||
|
|
sourceCompatibility = '1.8'
|
||
|
|
|
||
|
|
configurations {
|
||
|
|
compileOnly {
|
||
|
|
extendsFrom annotationProcessor
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
repositories {
|
||
|
|
// 폐쇄망 환경에서는 아래 Nexus 설정을 사용하고 mavenCentral()은 주석 처리
|
||
|
|
// Use Nexus repository in closed network environment
|
||
|
|
// Uncomment below and comment out mavenCentral()
|
||
|
|
/*
|
||
|
|
maven {
|
||
|
|
url = "${nexusUrl}/repository/maven-public/"
|
||
|
|
credentials {
|
||
|
|
username = "${nexusUsername}"
|
||
|
|
password = "${nexusPassword}"
|
||
|
|
}
|
||
|
|
// 자체 서명 인증서 사용 시
|
||
|
|
allowInsecureProtocol = false // HTTP를 사용할 경우 true로 설정
|
||
|
|
}
|
||
|
|
*/
|
||
|
|
|
||
|
|
// 인터넷 접속 가능 환경
|
||
|
|
mavenCentral()
|
||
|
|
}
|
||
|
|
|
||
|
|
dependencies {
|
||
|
|
// Spring Boot Starter
|
||
|
|
implementation 'org.springframework.boot:spring-boot-starter'
|
||
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
||
|
|
|
||
|
|
// Spring Batch
|
||
|
|
implementation 'org.springframework.boot:spring-boot-starter-batch'
|
||
|
|
|
||
|
|
// Quartz Scheduler
|
||
|
|
implementation 'org.springframework.boot:spring-boot-starter-quartz'
|
||
|
|
|
||
|
|
// MyBatis
|
||
|
|
implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:2.3.2'
|
||
|
|
|
||
|
|
// MariaDB
|
||
|
|
implementation 'org.mariadb.jdbc:mariadb-java-client:2.7.9'
|
||
|
|
|
||
|
|
// Database Connection Pool
|
||
|
|
implementation 'com.zaxxer:HikariCP'
|
||
|
|
|
||
|
|
// Lombok
|
||
|
|
compileOnly 'org.projectlombok:lombok'
|
||
|
|
annotationProcessor 'org.projectlombok:lombok'
|
||
|
|
|
||
|
|
// HTTP Client for API calls
|
||
|
|
implementation 'org.springframework.boot:spring-boot-starter-webflux'
|
||
|
|
|
||
|
|
// Test
|
||
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
||
|
|
testImplementation 'org.springframework.batch:spring-batch-test'
|
||
|
|
}
|
||
|
|
|
||
|
|
test {
|
||
|
|
useJUnitPlatform()
|
||
|
|
}
|