Skip to content

Commit 3475b2a

Browse files
committed
Rewrite in Kotlin
1 parent 2faca82 commit 3475b2a

File tree

72 files changed

+1856
-2541
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+1856
-2541
lines changed

.circleci/config.yml

Lines changed: 0 additions & 181 deletions
This file was deleted.

.detekt/config.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
comments:
2+
UndocumentedPublicClass:
3+
active: true
4+
UndocumentedPublicFunction:
5+
active: true
6+
UndocumentedPublicProperty:
7+
active: true
8+
formatting:
9+
ImportOrdering:
10+
active: true
11+
NoBlankLineBeforeRbrace:
12+
active: false
13+
ParameterListWrapping:
14+
active: false
15+
style:
16+
ClassOrdering:
17+
active: true
18+
NoTabs:
19+
active: true

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @akkinoc

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github: akkinoc

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
name: 🐛 Bug report
3+
about: Create a bug report.
4+
labels: type:bug
5+
---
6+
7+
## Describe the bug
8+
9+
<!--
10+
A clear and concise description of what the bug is.
11+
-->
12+
13+
## To Reproduce
14+
15+
<!--
16+
Steps to reproduce the behavior.
17+
-->
18+
19+
## Expected behavior
20+
21+
<!--
22+
A clear and concise description of what you expected to happen.
23+
-->
24+
25+
### Environment
26+
27+
<!--
28+
Please provide the following.
29+
-->
30+
31+
* **Version of this library used**:
32+
* **Version of Java used**:
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: 💡 Feature request
3+
about: Suggest an idea or a feature.
4+
labels: type:enhancement
5+
---
6+
7+
## Describe the problem you'd like to have solved
8+
9+
<!--
10+
A clear and concise description of what the problem is.
11+
-->
12+
13+
## Describe the solution you'd like
14+
15+
<!--
16+
A clear and concise description of what you want to happen.
17+
-->

.github/ISSUE_TEMPLATE/question.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
name: ❓ Question
3+
about: Ask a question about usage, support, internal behavior, etc.
4+
labels: type:question
5+
---
6+
7+
## Question
8+
9+
<!--
10+
A clear and concise question.
11+
-->

.github/dependabot.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: maven
4+
directory: /
5+
schedule:
6+
interval: daily
7+
labels:
8+
- type:enhancement
9+
- package-ecosystem: maven
10+
directory: /examples/simple-java
11+
schedule:
12+
interval: daily
13+
labels:
14+
- type:enhancement
15+
- package-ecosystem: maven
16+
directory: /examples/simple-kotlin
17+
schedule:
18+
interval: daily
19+
labels:
20+
- type:enhancement
21+
- package-ecosystem: github-actions
22+
directory: /
23+
schedule:
24+
interval: daily
25+
labels:
26+
- type:enhancement

.github/issue_template.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
## Describe the issue
2+
3+
<!--
4+
A clear and concise description of what the issue is.
5+
-->

.github/pull_request_template.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
## Describe the changes
2+
3+
<!--
4+
A clear and concise description of the changes.
5+
-->

.github/workflows/build.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: build
2+
on: [push, pull_request]
3+
jobs:
4+
build:
5+
strategy:
6+
matrix:
7+
java: [8, 11, 15]
8+
name: Build with Java ${{ matrix.java }}
9+
runs-on: ubuntu-20.04
10+
steps:
11+
- name: Checkout the Git repository
12+
uses: actions/[email protected]
13+
- name: Setup Java
14+
uses: actions/[email protected]
15+
with:
16+
distribution: adopt
17+
java-version: ${{ matrix.java }}
18+
- name: Cache the Maven local repository
19+
uses: actions/[email protected]
20+
with:
21+
path: ~/.m2/repository
22+
key: maven-${{ matrix.java }}-${{ hashFiles('**/pom.xml') }}
23+
restore-keys: maven-${{ matrix.java }}-
24+
- name: Build the project
25+
run: mvn -B clean install
26+
- name: Get the project version
27+
run: echo PROJECT_VERSION=$(mvn -B -Dexpression=project.version -DforceStdout -q help:evaluate) >>$GITHUB_ENV
28+
- name: Build the "examples/simple-java" project
29+
run: mvn -B -Dorika-spring-boot-starter.version=${{ env.PROJECT_VERSION }} clean install
30+
working-directory: examples/simple-java
31+
- name: Build the "examples/simple-kotlin" project
32+
run: mvn -B -Dorika-spring-boot-starter.version=${{ env.PROJECT_VERSION }} clean install
33+
working-directory: examples/simple-kotlin
34+
- name: Upload the coverage report to Codecov
35+
uses: codecov/[email protected]
36+
with:
37+
fail_ci_if_error: true

0 commit comments

Comments
 (0)