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

Commit b27d573

Browse files
authored
Merge pull request #29 from k163377/fix_readme_and_buildscript
Fix readme and buildscript.
2 parents e5a1a15 + e619025 commit b27d573

File tree

4 files changed

+15
-13
lines changed

4 files changed

+15
-13
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/auto-author-assign@v1.2.0
12+
with:
13+
repo-token: "${{ secrets.GITHUB_TOKEN }}"

README.ja.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ KRowMapper
88
`KRowMapper``Kotlin`向けの`RowMapper`であり、以下の機能を提供します。
99

1010
- `BeanPropertyRowMapper`と同等の、最小限の労力でのオブジェク関係トマッピング(`ORM`
11+
- [`BeanPropertyRowMapper`より高速](https://github.com/ProjectMapK/MapKInspections#krowmapper)なマッピング
1112
- リフレクションを用いた関数呼び出しベースの柔軟で安全なマッピング
12-
- 豊富な機能による、より柔軟かつ労力の少ないマッピング
1313

1414
## デモコード
1515
手動でマッピングコードを書いた場合と`KRowMapper`を用いた場合を比較します。

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ KRowMapper
1414
`KRowMapper` is a `RowMapper` for `Kotlin`, which provides the following features.
1515

1616
- Object relationship mapping with minimal effort, equivalent to `BeanPropertyRowMapper`.
17+
- [Faster mapping than `BeanPropertyRowMapper`](https://github.com/ProjectMapK/MapKInspections#krowmapper).
1718
- Flexible and safe mapping based on function calls with `reflection`.
18-
- Richer features and thus more flexible and labor-saving mapping.
1919

2020
## Demo code
2121
Here is a comparison between writing the mapping code manually and using `KRowMapper`.

build.gradle.kts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -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
// 使うのはRowMapperのみなため他はexclude、またバージョンそのものは使う相手に合わせるためcompileOnly

0 commit comments

Comments
 (0)