49 lines
1.2 KiB
Groovy
49 lines
1.2 KiB
Groovy
plugins {
|
|
id 'java'
|
|
id 'org.springframework.boot' version '3.5.10'
|
|
id 'io.spring.dependency-management' version '1.1.7'
|
|
}
|
|
|
|
group = 'kr.tscc'
|
|
version = '0.0.1-SNAPSHOT'
|
|
description = 'TSCC_BASE'
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(17)
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
// Spring Boot Web
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
|
|
// Spring Security
|
|
implementation 'org.springframework.boot:spring-boot-starter-security'
|
|
|
|
// Validation
|
|
implementation 'org.springframework.boot:spring-boot-starter-validation'
|
|
|
|
// MyBatis
|
|
implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:3.0.4'
|
|
|
|
// MariaDB Driver
|
|
runtimeOnly 'org.mariadb.jdbc:mariadb-java-client'
|
|
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
|
|
|
// Commons Lang: 최신 라인(보안/취약점 표기 기준 최신 사용)
|
|
implementation 'org.apache.commons:commons-lang3:3.20.0' // :contentReference[oaicite:3]{index=3}
|
|
}
|
|
|
|
// 의존성 설치: ./gradlew build (또는 IDE에서 Gradle Sync)
|
|
|
|
tasks.named('test') {
|
|
useJUnitPlatform()
|
|
}
|