This repository was archived by the owner on Jan 20, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +25
-1
lines changed Expand file tree Collapse file tree 3 files changed +25
-1
lines changed Original file line number Diff line number Diff line change 22#
33# Check https://circleci.com/docs/2.0/language-java/ for more details
44#
5- version : 2
5+ version : 2.1
6+ orbs :
7+ codecov :
codecov/[email protected] 68jobs :
79 build :
810 docker :
4244 - run : gradle ktlintCheck
4345 # run tests!
4446 - run : gradle test
47+ # upload coverages to codecov
48+ - run : bash <(curl -s https://codecov.io/bash)
Original file line number Diff line number Diff line change 1+ [ ![ License] ( https://img.shields.io/badge/License-Apache%202.0-blue.svg )] ( https://opensource.org/licenses/Apache-2.0 )
2+ [ ![ CircleCI] ( https://circleci.com/gh/ProjectMapK/Shared.svg?style=svg )] ( https://circleci.com/gh/ProjectMapK/Shared )
3+ [ ![ ] ( https://jitci.com/gh/ProjectMapK/Shared/svg )] ( https://jitci.com/gh/ProjectMapK/Shared )
4+ [ ![ codecov] ( https://codecov.io/gh/ProjectMapK/Shared/branch/master/graph/badge.svg )] ( https://codecov.io/gh/ProjectMapK/Shared )
5+
6+ A ` Shared ` module for ProjectMapK.
7+ ====
8+ You can use this module to easily make function calls by ` Kotlin ` 's ` Reflection ` .
9+ Also, you can use the features of ProjectMapK in this module.
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ plugins {
33 id(" java" )
44 id(" org.jetbrains.kotlin.jvm" ) version " 1.3.72"
55 id(" org.jlleitschuh.gradle.ktlint" ) version " 9.2.1"
6+ id(" jacoco" )
67}
78
89group = " com.mapk"
@@ -57,5 +58,15 @@ tasks {
5758 }
5859 test {
5960 useJUnitPlatform()
61+ // テスト終了時にjacocoのレポートを生成する
62+ finalizedBy(jacocoTestReport)
63+ }
64+
65+ jacocoTestReport {
66+ reports {
67+ xml.isEnabled = true
68+ csv.isEnabled = false
69+ html.isEnabled = true
70+ }
6071 }
6172}
You can’t perform that action at this time.
0 commit comments