From 0f05a6747ebc76235e8097c518e14bfe8229a543 Mon Sep 17 00:00:00 2001 From: wrongwrong Date: Sat, 4 Jul 2020 13:54:59 +0900 Subject: [PATCH 1/7] =?UTF-8?q?README=E3=82=92=E3=83=90=E3=83=83=E3=82=B8?= =?UTF-8?q?=E3=81=BE=E3=81=A7=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..021648c --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +[![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) From 05170878923a14f13adeb8b8aeef9a61b6f2e6c1 Mon Sep 17 00:00:00 2001 From: wrongwrong Date: Sat, 4 Jul 2020 14:02:48 +0900 Subject: [PATCH 2/7] =?UTF-8?q?=E7=B0=A1=E5=8D=98=E3=81=AA=E8=AA=AC?= =?UTF-8?q?=E6=98=8E=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 021648c..3912faf 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,8 @@ [![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) + +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. From 209020be95b389cf5ff7207bac252058d25483d1 Mon Sep 17 00:00:00 2001 From: wrongwrong Date: Sat, 4 Jul 2020 14:08:47 +0900 Subject: [PATCH 3/7] =?UTF-8?q?jacoco=E5=91=A8=E3=82=8A=E3=82=92=E8=BF=BD?= =?UTF-8?q?=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle.kts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index 905b321..d595f23 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -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" @@ -58,4 +59,12 @@ tasks { test { useJUnitPlatform() } + + jacocoTestReport { + reports { + xml.isEnabled = true + csv.isEnabled = false + html.isEnabled = true + } + } } From e81d4be2e44f858db6aea09822c0269ff379e317 Mon Sep 17 00:00:00 2001 From: wrongwrong Date: Sat, 4 Jul 2020 14:10:34 +0900 Subject: [PATCH 4/7] =?UTF-8?q?=E3=82=AB=E3=83=90=E3=83=AC=E3=83=83?= =?UTF-8?q?=E3=82=B8=E3=81=AE=E3=82=A2=E3=83=83=E3=83=97=E3=83=AD=E3=83=BC?= =?UTF-8?q?=E3=83=89=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .circleci/config.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 254703b..a097a2f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -42,3 +42,5 @@ jobs: - run: gradle ktlintCheck # run tests! - run: gradle test + # upload coverages to codecov + - run: bash <(curl -s https://codecov.io/bash) From 4c2cfab9ed31aa0f6513a7bfdf80e4737327a660 Mon Sep 17 00:00:00 2001 From: wrongwrong Date: Sat, 4 Jul 2020 14:11:27 +0900 Subject: [PATCH 5/7] =?UTF-8?q?=E3=82=AB=E3=83=90=E3=83=AC=E3=83=83?= =?UTF-8?q?=E3=82=B8=E3=83=90=E3=83=83=E3=82=B8=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 3912faf..135ec82 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ [![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. ==== From b0c9328f84cafc7ed5d9737df43090fcfcbd52cb Mon Sep 17 00:00:00 2001 From: wrongwrong Date: Sat, 4 Jul 2020 14:17:47 +0900 Subject: [PATCH 6/7] =?UTF-8?q?orb=E8=A8=AD=E5=AE=9A=E3=82=92=E8=B6=B3?= =?UTF-8?q?=E3=81=97=E5=BF=98=E3=82=8C=E3=81=A6=E3=81=84=E3=81=9F=E3=81=9F?= =?UTF-8?q?=E3=82=81=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .circleci/config.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a097a2f..6c3ac5d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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: From 576eb34d53c62a46874cef855a6692ba8c676c7a Mon Sep 17 00:00:00 2001 From: wrongwrong Date: Sat, 4 Jul 2020 14:21:59 +0900 Subject: [PATCH 7/7] =?UTF-8?q?=E3=83=AC=E3=83=9D=E3=83=BC=E3=83=88?= =?UTF-8?q?=E3=81=AE=E7=94=9F=E6=88=90=E8=A8=AD=E5=AE=9A=E3=82=92=E5=BF=98?= =?UTF-8?q?=E3=82=8C=E3=81=A6=E3=81=84=E3=81=9F=E3=81=9F=E3=82=81=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle.kts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index d595f23..dabf2ec 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -58,6 +58,8 @@ tasks { } test { useJUnitPlatform() + // テスト終了時にjacocoのレポートを生成する + finalizedBy(jacocoTestReport) } jacocoTestReport {