From d4f6646f4a3f5de3c5b69c76a6b2fb4fea4b9c58 Mon Sep 17 00:00:00 2001 From: beng9re Date: Sun, 7 Jan 2024 20:20:13 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20Query=20DSL=20Build=20=EC=8B=A4=ED=8C=A8?= =?UTF-8?q?=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle.kts | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 3602ded..ece0c84 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -52,9 +52,9 @@ dependencies { //querydsl implementation("com.querydsl:querydsl-jpa") - annotationProcessor("com.querydsl:querydsl-apt:5.0.0:jpa") - annotationProcessor("jakarta.annotation:jakarta.annotation-api") - annotationProcessor("jakarta.persistence:jakarta.persistence-api") + implementation ("com.querydsl:querydsl-core") + implementation ("com.querydsl:querydsl-collections") + annotationProcessor ("com.querydsl:querydsl-apt:5.0.0") } tasks.withType { @@ -85,3 +85,10 @@ configurations { tasks.withType { options.annotationProcessorPath = configurations.querydsl.get() } + +// clean 이후에 querydsl 폴더를 지움 +tasks.named("clean") { + doLast { + file(querydslDir).deleteRecursively() + } +}