Skip to content

Commit

Permalink
chore : jacoco 잠시 주석 처리 #45
Browse files Browse the repository at this point in the history
  • Loading branch information
strangehoon committed Mar 30, 2024
1 parent 0dc0c53 commit b45857a
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ plugins {
id 'org.springframework.boot' version '3.1.5'
id 'io.spring.dependency-management' version '1.1.4'
id "org.asciidoctor.jvm.convert" version "3.3.2"
id 'jacoco'
//id 'jacoco'
}

group = 'com'
Expand All @@ -13,9 +13,9 @@ java {
sourceCompatibility = '17'
}

jacoco {
toolVersion = "0.8.8"
}
//jacoco {
// toolVersion = "0.8.8"
//}

configurations {
compileOnly {
Expand Down Expand Up @@ -81,31 +81,31 @@ dependencies {

tasks.named('test') {
useJUnitPlatform()
finalizedBy 'jacocoTestReport'
}

jacocoTestReport {
reports {
// html로 report 생성하기
// 빌드경로/jacoco/report.html 폴더 내부로 경로 설정
html.destination file("$buildDir/jacoco/report.html")
}

afterEvaluate {
classDirectories.setFrom(
files(classDirectories.files.collect {
fileTree(dir: it, excludes: [
'**/*Application*',
'**/*Exception*',
'**/dto/**',
'**/global/**',
'**/domain/healthCheck/**'
])
})
)
}

// finalizedBy 'jacocoTestCoverageVerification'
// finalizedBy 'jacocoTestReport'
//}
//
//jacocoTestReport {
// reports {
// // html로 report 생성하기
// // 빌드경로/jacoco/report.html 폴더 내부로 경로 설정
// html.destination file("$buildDir/jacoco/report.html")
// }
//
// afterEvaluate {
// classDirectories.setFrom(
// files(classDirectories.files.collect {
// fileTree(dir: it, excludes: [
// '**/*Application*',
// '**/*Exception*',
// '**/dto/**',
// '**/global/**',
// '**/domain/healthCheck/**'
// ])
// })
// )
// }
//
//// finalizedBy 'jacocoTestCoverageVerification'

}

Expand Down

0 comments on commit b45857a

Please sign in to comment.