From 05a694a03b58b372b68b4c11467ad7ca9e7b044b Mon Sep 17 00:00:00 2001 From: Kamil Adam Date: Thu, 4 Apr 2024 15:11:55 +0200 Subject: [PATCH] GraphQL Lombok --- build.gradle.kts | 8 ++++++++ 1 file changed, 8 insertions(+) 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") }