From 97942670706f8cd59eaee2e06b0964352d630030 Mon Sep 17 00:00:00 2001 From: SeYoE Date: Wed, 13 Dec 2023 16:51:49 +0900 Subject: [PATCH] =?UTF-8?q?Chore:=20Jacoco=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build.gradle b/build.gradle index 675ac1bd8..0e7da291b 100644 --- a/build.gradle +++ b/build.gradle @@ -6,6 +6,7 @@ buildscript { plugins { id 'java' + id 'jacoco' id 'org.springframework.boot' version '3.1.5' id 'io.spring.dependency-management' version '1.1.3' id 'com.epages.restdocs-api-spec' version "${restdocsApiSpecVersion}" @@ -121,5 +122,10 @@ dependencies { } tasks.named('test') { + finalizedBy jacocoTestReport useJUnitPlatform() } + +tasks.named('jacocoTestReport') { + dependsOn test +}