From 91d2bc148f30ed2cad6ea034740e0518f7c1828c Mon Sep 17 00:00:00 2001 From: hyeonjaez Date: Thu, 3 Oct 2024 17:47:30 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=A4=91=EB=B3=B5=20=EC=BD=94=EB=93=9C?= =?UTF-8?q?=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/build.gradle b/build.gradle index 7ba6d4d..bbde385 100644 --- a/build.gradle +++ b/build.gradle @@ -26,7 +26,7 @@ repositories { } ext { - set('snippetsDir', file("build/generated-snippets")) + set('snippetsDir', file("src/dos")) // 변경된 경로 } dependencies { @@ -35,7 +35,6 @@ dependencies { implementation 'org.springframework.boot:spring-boot-starter-data-jpa' implementation 'org.springframework.boot:spring-boot-starter-validation' - implementation 'io.jsonwebtoken:jjwt-api:0.12.6' runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.12.6' runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.12.6' @@ -49,7 +48,6 @@ dependencies { annotationProcessor 'org.mapstruct:mapstruct-processor:1.5.5.Final' implementation 'com.querydsl:querydsl-jpa:5.0.0:jakarta' -// queryDsl 라이브러리 annotationProcessor "com.querydsl:querydsl-apt:5.0.0:jakarta" annotationProcessor "jakarta.annotation:jakarta.annotation-api" annotationProcessor "jakarta.persistence:jakarta.persistence-api" @@ -69,18 +67,13 @@ tasks.named('test') { tasks.named('asciidoctor') { inputs.dir snippetsDir - dependsOn test -} - -ext { - set('snippetsDir', file("src/docs")) + // dependsOn test 를 제거하여 순환 종속성을 피합니다. } asciidoctor { configurations 'asciidoctorExt' baseDirFollowsSourceFile() inputs.dir snippetsDir - dependsOn test } asciidoctor.doFirst { @@ -88,12 +81,11 @@ asciidoctor.doFirst { } task copyDocument(type: Copy) { - dependsOn asciidoctor from file("build/docs/asciidoc") into file("src/main/resources/docs") } - +// build 작업에 copyDocument를 추가합니다. build { dependsOn copyDocument } \ No newline at end of file