43 lines
952 B
Groovy
43 lines
952 B
Groovy
![]() |
plugins {
|
||
|
id 'java'
|
||
|
id 'org.springframework.boot' version '3.5.4'
|
||
|
id 'io.spring.dependency-management' version '1.1.7'
|
||
|
}
|
||
|
|
||
|
group = 'com.bio'
|
||
|
version = '0.0.1-SNAPSHOT'
|
||
|
|
||
|
java {
|
||
|
toolchain {
|
||
|
languageVersion = JavaLanguageVersion.of(17)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
configurations {
|
||
|
compileOnly {
|
||
|
extendsFrom annotationProcessor
|
||
|
}
|
||
|
}
|
||
|
|
||
|
repositories {
|
||
|
mavenCentral()
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
// 개발용 의존성 추가
|
||
|
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
||
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
||
|
// PostgreSQL JDBC 드라이버
|
||
|
runtimeOnly 'org.postgresql:postgresql'
|
||
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
||
|
compileOnly 'org.projectlombok:lombok'
|
||
|
annotationProcessor 'org.projectlombok:lombok'
|
||
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
||
|
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
||
|
|
||
|
}
|
||
|
|
||
|
tasks.named('test') {
|
||
|
useJUnitPlatform()
|
||
|
}
|