diff --git a/build.gradle.kts b/build.gradle.kts index 3dd6cd3..b1ed607 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -16,6 +16,12 @@ java { sourceCompatibility = JavaVersion.VERSION_21 } +configurations { + compileOnly { + extendsFrom(configurations.annotationProcessor.get()) + } +} + repositories { mavenCentral() } @@ -23,7 +29,9 @@ repositories { dependencies { implementation("org.springframework.boot:spring-boot-starter") implementation("org.jetbrains.kotlin:kotlin-reflect") + compileOnly("org.projectlombok:lombok") developmentOnly("org.springframework.boot:spring-boot-devtools") + annotationProcessor("org.projectlombok:lombok") testImplementation("org.springframework.boot:spring-boot-starter-test") }