Skip to content
This repository was archived by the owner on Jan 20, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
#
# Check https://circleci.com/docs/2.0/language-java/ for more details
#
version: 2
version: 2.1
orbs:
codecov: codecov/codecov@1.0.5
jobs:
build:
docker:
Expand Down Expand Up @@ -42,3 +44,5 @@ jobs:
- run: gradle ktlintCheck
# run tests!
- run: gradle test
# upload coverages to codecov
- run: bash <(curl -s https://codecov.io/bash)
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![CircleCI](https://circleci.com/gh/ProjectMapK/Shared.svg?style=svg)](https://circleci.com/gh/ProjectMapK/Shared)
[![](https://jitci.com/gh/ProjectMapK/Shared/svg)](https://jitci.com/gh/ProjectMapK/Shared)
[![codecov](https://codecov.io/gh/ProjectMapK/Shared/branch/master/graph/badge.svg)](https://codecov.io/gh/ProjectMapK/Shared)

A `Shared` module for ProjectMapK.
====
You can use this module to easily make function calls by `Kotlin`'s `Reflection`.
Also, you can use the features of ProjectMapK in this module.
11 changes: 11 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ plugins {
id("java")
id("org.jetbrains.kotlin.jvm") version "1.3.72"
id("org.jlleitschuh.gradle.ktlint") version "9.2.1"
id("jacoco")
}

group = "com.mapk"
Expand Down Expand Up @@ -57,5 +58,15 @@ tasks {
}
test {
useJUnitPlatform()
// テスト終了時にjacocoのレポートを生成する
finalizedBy(jacocoTestReport)
}

jacocoTestReport {
reports {
xml.isEnabled = true
csv.isEnabled = false
html.isEnabled = true
}
}
}