์ฃผ์! - ์คํ๋ง ๋ถํธ 3.0์ ์ ํํ๊ฒ ๋๋ฉด ๋ค์ ๋ถ๋ถ์ ๊ผญ ํ์ธํด์ผํ๋ค.
build.gradle Gradle ์ ์ฒด ์ค์
plugins {
id 'java'
id 'org.springframework.boot' version '3.0.1'
id 'io.spring.dependency-management' version '1.1.0'
}
group = 'jpabook'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '17'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-devtools'
implementation 'com.github.gavlyukovskiy:p6spy-spring-boot-starter:1.8.1'
compileOnly 'org.projectlombok:lombok'
runtimeOnly 'com.h2database:h2'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'junit:junit:4.13.1'
}
tasks.named('test') {
useJUnitPlatform()
}
ํ๋ ! ์ฃผ์!
build.gradle
์ ์๋ ๋ค์ ๋ถ๋ถ์ ๊ผญ ์ง์ ์ถ๊ฐํด์ผ ํ๋ค.