Skip to content

Instantly share code, notes, and snippets.

@th-deng
Last active January 23, 2020 15:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save th-deng/e08154636455bbb173ca0a949d43abec to your computer and use it in GitHub Desktop.
Save th-deng/e08154636455bbb173ca0a949d43abec to your computer and use it in GitHub Desktop.
Apply JaCoCo plugin
// groovy DSL
plugins {
id 'jacoco'
}
jacoco {
// JaCoCo 버전
toolVersion = '0.8.5'
// 테스트결과 리포트를 저장할 경로 변경
// default는 "${project.reporting.baseDir}/jacoco"
// reportsDir = file("$buildDir/customJacocoReportDir")
}
// kotlin DSL
plugins {
jacoco
}
jacoco {
// JaCoCo 버전
toolVersion = "0.8.5"
// 테스트결과 리포트를 저장할 경로 변경
// default는 "${project.reporting.baseDir}/jacoco"
// reportsDir = file("$buildDir/customJacocoReportDir")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment