This repository was archived by the owner on Jan 20, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +22
-12
lines changed Expand file tree Collapse file tree 4 files changed +22
-12
lines changed Original file line number Diff line number Diff line change 1+ name : ' Auto Author Assign'
2+
3+ on :
4+ pull_request_target :
5+ types : [opened, reopened]
6+
7+ jobs :
8+ assign-author :
9+ runs-on : ubuntu-latest
10+ steps :
11+ -
uses :
toshimaru/[email protected] 12+ with :
13+ repo-token : " ${{ secrets.GITHUB_TOKEN }}"
Original file line number Diff line number Diff line change @@ -11,6 +11,10 @@ KMapper
1111- ` Kotlin ` のリフレクションを用いた関数呼び出しベースの安全なマッピング
1212- 豊富な機能による、より柔軟かつ労力の少ないマッピング
1313
14+ 以下のリポジトリに簡単なベンチマーク結果を掲載しています。
15+
16+ - [ ProjectMapK/MapKInspections: Testing and benchmarking for ProjectMapK deliverables\. ] ( https://github.com/ProjectMapK/MapKInspections#results )
17+
1418## デモコード
1519手動でマッピングコードを書いた場合と` KMapper ` を用いた場合を比較します。
1620手動で書く場合引数が多ければ多いほど記述がかさみますが、` KMapper ` を用いることで殆どコードを書かずにマッピングを行えます。
Original file line number Diff line number Diff line change @@ -17,6 +17,10 @@ KMapper
1717- Flexible and safe mapping based on function calls with reflection.
1818- Richer features and thus more flexible and labor-saving mapping.
1919
20+ A brief benchmark result is posted in the following repository.
21+
22+ - [ ProjectMapK/MapKInspections: Testing and benchmarking for ProjectMapK deliverables\. ] ( https://github.com/ProjectMapK/MapKInspections#results )
23+
2024## Demo code
2125Here is a comparison between writing the mapping code by manually and using ` KMapper ` .
2226
Original file line number Diff line number Diff line change 11plugins {
22 id(" maven" )
33 id(" java" )
4- id( " org.jetbrains.kotlin. jvm" ) version " 1.4.21"
4+ kotlin( " jvm" ) version " 1.4.21"
55 // その他補助系
66 id(" org.jlleitschuh.gradle.ktlint" ) version " 9.4.1"
77 id(" jacoco" )
@@ -15,23 +15,12 @@ java {
1515 sourceCompatibility = JavaVersion .VERSION_1_8
1616}
1717
18- buildscript {
19- repositories {
20- mavenCentral()
21- }
22-
23- dependencies {
24- classpath(kotlin(" gradle-plugin" ))
25- }
26- }
27-
2818repositories {
2919 mavenCentral()
3020 maven { setUrl(" https://jitpack.io" ) }
3121}
3222
3323dependencies {
34- implementation(" org.jetbrains.kotlin:kotlin-stdlib-jdk8" )
3524 implementation(kotlin(" reflect" ))
3625 api(" com.github.ProjectMapK:Shared:0.19" )
3726
You can’t perform that action at this time.
0 commit comments