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.
61 lines
1.6 KiB
Groovy
61 lines
1.6 KiB
Groovy
plugins {
|
|
id 'java'
|
|
id 'org.springframework.boot' version '3.5.0'
|
|
id 'io.spring.dependency-management' version '1.1.7'
|
|
}
|
|
|
|
group = 'org.api'
|
|
version = '0.0.1-SNAPSHOT'
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(17)
|
|
}
|
|
}
|
|
|
|
configurations {
|
|
compileOnly {
|
|
extendsFrom annotationProcessor
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
// === Spring Boot Starters ===
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
|
|
implementation 'org.springframework.boot:spring-boot-starter-webflux'
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
|
|
|
// === Lombok ===
|
|
compileOnly 'org.projectlombok:lombok'
|
|
annotationProcessor 'org.projectlombok:lombok'
|
|
|
|
// === DevTools ===
|
|
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
|
|
|
// === DB Driver ===
|
|
runtimeOnly 'org.mariadb.jdbc:mariadb-java-client'
|
|
|
|
|
|
implementation 'org.mapstruct:mapstruct:1.5.5.Final'
|
|
annotationProcessor 'org.mapstruct:mapstruct-processor:1.5.5.Final'
|
|
|
|
// === QueryDSL (필요 시) ===
|
|
implementation 'com.querydsl:querydsl-jpa:5.0.0:jakarta'
|
|
annotationProcessor 'com.querydsl:querydsl-apt:5.0.0:jakarta'
|
|
annotationProcessor 'jakarta.annotation:jakarta.annotation-api'
|
|
annotationProcessor 'jakarta.persistence:jakarta.persistence-api'
|
|
|
|
// === Tests ===
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
|
}
|
|
|
|
tasks.named('test') {
|
|
useJUnitPlatform()
|
|
}
|