Skip to content
This repository was archived by the owner on Jan 20, 2023. It is now read-only.

Commit 7f8cf5a

Browse files
authored
Merge pull request #48 from k163377/some_fixes
Fix readme and buildscript.
2 parents 453da37 + 99755d0 commit 7f8cf5a

File tree

4 files changed

+22
-12
lines changed

4 files changed

+22
-12
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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 }}"

README.ja.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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`を用いることで殆どコードを書かずにマッピングを行えます。

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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
2125
Here is a comparison between writing the mapping code by manually and using `KMapper`.
2226

build.gradle.kts

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
plugins {
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-
2818
repositories {
2919
mavenCentral()
3020
maven { setUrl("https://jitpack.io") }
3121
}
3222

3323
dependencies {
34-
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
3524
implementation(kotlin("reflect"))
3625
api("com.github.ProjectMapK:Shared:0.19")
3726

0 commit comments

Comments
 (0)