Skip to content

Commit 4191625

Browse files
authored
v2.0.0 Switched to Kotlin (#7)
* cleanup maven * Switched to Kotlin
1 parent 29acb98 commit 4191625

Some content is hidden

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

57 files changed

+1657
-1054
lines changed

.gitattributes

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#
2+
# https://help.github.com/articles/dealing-with-line-endings/
3+
#
4+
# Linux start script should use lf
5+
/gradlew text eol=lf
6+
7+
# These are Windows script files and should use crlf
8+
*.bat text eol=crlf
9+

.github/cla.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
*This is a copy of Katorly Lab Contributor License Agreement, and is the same as the Contributor License Agreement you read when you start a pull request. You may view the one you read [here](https://github.com/katorlys/.github/blob/main/.github/cla.md).*
2+
3+
4+
# Katorly Lab Contributor License Agreement (CLA)
5+
6+
To clarify the intellectual property license granted with Contributions from any person or entity, Katorly Lab must have on file a signed Contributor License Agreement ("CLA") from each Contributor, indicating agreement with the license terms below. This agreement is for your protection as a Contributor as well as the protection of Katorly Lab and its users. It does not change your rights to use your own Contributions for any other purpose.
7+
8+
By commenting "I have read the CLA Document and I hereby sign the CLA." within the pull request, you accept and agree to the following terms and conditions for Your Contributions (present and future) that you submit to Katorly Lab. In return, Katorly Lab shall not use Your Contributions in a way that is contrary to the public benefit or inconsistent with its nonprofit status and bylaws in effect at the time of the Contribution. Except for the license granted herein to Katorly Lab and recipients of software distributed by Katorly Lab, You reserve all right, title, and interest in and to Your Contributions. Your signature will be stored in /.cla/signatures.json in the cla branch.
9+
10+
1. Definitions.
11+
"You" (or "Your") shall mean the copyright owner or legal entity authorized by the copyright owner that is making this Agreement with Katorly Lab. For legal entities, the entity making a Contribution and all other entities that control, are controlled by, or are under common control with that entity are considered to be a single Contributor. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "Contribution" shall mean any original work of authorship, including any modifications or additions to an existing work, that is intentionally submitted by You to Katorly Lab for inclusion in, or documentation of, any of the products owned or managed by Katorly Lab (the "Work"). For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to Katorly Lab or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, Katorly Lab for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by You as "Not a Contribution."
12+
2. Grant of Copyright License. Subject to the terms and conditions of this Agreement, You hereby grant to Katorly Lab and to recipients of software distributed by Katorly Lab a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Your Contributions and such derivative works.
13+
3. Grant of Patent License. Subject to the terms and conditions of this Agreement, You hereby grant to Katorly Lab and to recipients of software distributed by Katorly Lab a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by You that are necessarily infringed by Your Contribution(s) alone or by combination of Your Contribution(s) with the Work to which such Contribution(s) was submitted. If any entity institutes patent litigation against You or any other entity (including a cross-claim or counterclaim in a lawsuit) alleging that your Contribution, or the Work to which you have contributed, constitutes direct or contributory patent infringement, then any patent licenses granted to that entity under this Agreement for that Contribution or Work shall terminate as of the date such litigation is filed.
14+
4. You represent that you are legally entitled to grant the above license. If your employer(s) has rights to intellectual property that you create that includes your Contributions, you represent that you have received permission to make Contributions on behalf of that employer, that your employer has waived such rights for your Contributions to Katorly Lab, or that your employer has executed a separate Corporate CLA with Katorly Lab.
15+
5. You represent that each of Your Contributions is Your original creation (see section 7 for submissions on behalf of others). You represent that Your Contribution submissions include complete details of any third-party license or other restriction (including, but not limited to, related patents and trademarks) of which you are personally aware and which are associated with any part of Your Contributions.
16+
6. You are not expected to provide support for Your Contributions, except to the extent You desire to provide support. You may provide support for free, for a fee, or not at all. Unless required by applicable law or agreed to in writing, You provide Your Contributions on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON- INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE.
17+
7. Should You wish to submit work that is not Your original creation, You may submit it to Katorly Lab separately from any Contribution, identifying the complete details of its source and of any license or other restriction (including, but not limited to, related patents, trademarks, and license agreements) of which you are personally aware, and conspicuously marking the work as "Submitted on behalf of a third-party: [named here]".
18+
8. You agree to notify Katorly Lab of any facts or circumstances of which you become aware that would make these representations inaccurate in any respect.
19+
20+
21+
*Adapted from [© Apache Software Foundation](http://www.apache.org/licenses).*

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ jobs:
1010
name: Build
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v3
1414
with:
1515
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
1616
- name: Set up JDK 17
17-
uses: actions/setup-java@v2
17+
uses: actions/setup-java@v3
1818
with:
1919
distribution: 'adopt'
2020
java-version: '17'
2121
- name: Build and analyze
22+
uses: gradle/wrapper-validation-action@v1
2223
env:
23-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
24-
run: mvn verify
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any

.github/workflows/cla.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: "CLA Assistant"
2+
on:
3+
issue_comment:
4+
types: [created]
5+
pull_request_target:
6+
types: [opened,closed,synchronize]
7+
8+
jobs:
9+
CLAAssistant:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: "CLA Assistant"
13+
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document of Katorly Lab and I hereby sign the CLA.') || github.event_name == 'pull_request_target'
14+
uses: contributor-assistant/github-action@v2.3.0
15+
env:
16+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17+
# the below token should have repo scope and must be manually added by you in the repository's secret
18+
# This token is required only if you have configured to store the signatures in a remote repository/organization
19+
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
20+
with:
21+
path-to-signatures: '.cla/signatures.json'
22+
path-to-document: 'https://github.com/katorlys/.github/blob/main/.github/cla.md' # e.g. a CLA or a DCO document
23+
# branch should not be protected
24+
branch: 'cla'
25+
allowlist: katorly, bot*
26+
custom-pr-sign-comment: 'I have read the CLA Document of Katorly Lab and I hereby sign the CLA.'
27+
28+
# the followings are the optional inputs - If the optional inputs are not given, then default values will be taken
29+
#remote-organization-name: enter the remote organization name where the signatures should be stored (Default is storing the signatures in the same repository)
30+
#remote-repository-name: enter the remote repository name where the signatures should be stored (Default is storing the signatures in the same repository)
31+
#create-file-commit-message: 'Create file for storing CLA Signatures'
32+
#signed-commit-message: '$contributorName has signed the CLA in $owner/$repo#$pullRequestNo'
33+
#custom-notsigned-prcomment: 'Thank you for contributing to Katorly Lab! Please kindly read and sign our $pathToCLADocument before we can accept your contribution. You may sign it by just commenting ```I have read the CLA Document of Katorly Lab and I hereby sign the CLA.``` in this pull request.'
34+
#custom-allsigned-prcomment: 'All Contributors have signed the CLA. The pull request is safe to merge.'
35+
#lock-pullrequest-aftermerge: false - if you don't want this bot to automatically lock the pull request after merging (default - true)
36+
#use-dco-flag: true - If you are using DCO instead of CLA

.gitignore

Lines changed: 227 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,228 @@
1-
/target/
1+
# Created by https://www.toptal.com/developers/gitignore/api/windows,intellij,visualstudiocode,gradle,kotlin,java
2+
# Edit at https://www.toptal.com/developers/gitignore?templates=windows,intellij,visualstudiocode,gradle,kotlin,java
3+
4+
### Intellij ###
5+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
6+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
7+
8+
# User-specific stuff
9+
.idea/**/workspace.xml
10+
.idea/**/tasks.xml
11+
.idea/**/usage.statistics.xml
12+
.idea/**/dictionaries
13+
.idea/**/shelf
14+
15+
# AWS User-specific
16+
.idea/**/aws.xml
17+
18+
# Generated files
19+
.idea/**/contentModel.xml
20+
21+
# Sensitive or high-churn files
22+
.idea/**/dataSources/
23+
.idea/**/dataSources.ids
24+
.idea/**/dataSources.local.xml
25+
.idea/**/sqlDataSources.xml
26+
.idea/**/dynamic.xml
27+
.idea/**/uiDesigner.xml
28+
.idea/**/dbnavigator.xml
29+
30+
# Gradle
31+
.idea/**/gradle.xml
32+
.idea/**/libraries
33+
34+
# Gradle and Maven with auto-import
35+
# When using Gradle or Maven with auto-import, you should exclude module files,
36+
# since they will be recreated, and may cause churn. Uncomment if using
37+
# auto-import.
38+
# .idea/artifacts
39+
# .idea/compiler.xml
40+
# .idea/jarRepositories.xml
41+
# .idea/modules.xml
42+
# .idea/*.iml
43+
# .idea/modules
44+
# *.iml
45+
# *.ipr
46+
47+
# CMake
48+
cmake-build-*/
49+
50+
# Mongo Explorer plugin
51+
.idea/**/mongoSettings.xml
52+
53+
# File-based project format
54+
*.iws
55+
56+
# IntelliJ
57+
out/
58+
59+
# mpeltonen/sbt-idea plugin
60+
.idea_modules/
61+
62+
# JIRA plugin
63+
atlassian-ide-plugin.xml
64+
65+
# Cursive Clojure plugin
66+
.idea/replstate.xml
67+
68+
# SonarLint plugin
69+
.idea/sonarlint/
70+
71+
# Crashlytics plugin (for Android Studio and IntelliJ)
72+
com_crashlytics_export_strings.xml
73+
crashlytics.properties
74+
crashlytics-build.properties
75+
fabric.properties
76+
77+
# Editor-based Rest Client
78+
.idea/httpRequests
79+
80+
# Android studio 3.1+ serialized cache file
81+
.idea/caches/build_file_checksums.ser
82+
83+
### Intellij Patch ###
84+
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
85+
86+
# *.iml
87+
# modules.xml
88+
# .idea/misc.xml
89+
# *.ipr
90+
91+
# Sonarlint plugin
92+
# https://plugins.jetbrains.com/plugin/7973-sonarlint
93+
.idea/**/sonarlint/
94+
95+
# SonarQube Plugin
96+
# https://plugins.jetbrains.com/plugin/7238-sonarqube-community-plugin
97+
.idea/**/sonarIssues.xml
98+
99+
# Markdown Navigator plugin
100+
# https://plugins.jetbrains.com/plugin/7896-markdown-navigator-enhanced
101+
.idea/**/markdown-navigator.xml
102+
.idea/**/markdown-navigator-enh.xml
103+
.idea/**/markdown-navigator/
104+
105+
# Cache file creation bug
106+
# See https://youtrack.jetbrains.com/issue/JBR-2257
107+
.idea/$CACHE_FILE$
108+
109+
# CodeStream plugin
110+
# https://plugins.jetbrains.com/plugin/12206-codestream
111+
.idea/codestream.xml
112+
113+
# Azure Toolkit for IntelliJ plugin
114+
# https://plugins.jetbrains.com/plugin/8053-azure-toolkit-for-intellij
115+
.idea/**/azureSettings.xml
116+
117+
### Java ###
118+
# Compiled class file
2119
*.class
3-
/.classpath
4-
/.DS_Store
120+
121+
# Log file
122+
*.log
123+
124+
# BlueJ files
125+
*.ctxt
126+
127+
# Mobile Tools for Java (J2ME)
128+
.mtj.tmp/
129+
130+
# Package Files #
131+
*.jar
132+
*.war
133+
*.nar
134+
*.ear
135+
*.zip
136+
*.tar.gz
137+
*.rar
138+
139+
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
140+
hs_err_pid*
141+
replay_pid*
142+
143+
### Kotlin ###
144+
# Compiled class file
145+
146+
# Log file
147+
148+
# BlueJ files
149+
150+
# Mobile Tools for Java (J2ME)
151+
152+
# Package Files #
153+
154+
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
155+
156+
### VisualStudioCode ###
157+
.vscode/*
158+
!.vscode/settings.json
159+
!.vscode/tasks.json
160+
!.vscode/launch.json
161+
!.vscode/extensions.json
162+
!.vscode/*.code-snippets
163+
164+
# Local History for Visual Studio Code
165+
.history/
166+
167+
# Built Visual Studio Code Extensions
168+
*.vsix
169+
170+
### VisualStudioCode Patch ###
171+
# Ignore all local history of files
172+
.history
173+
.ionide
174+
175+
### Windows ###
176+
# Windows thumbnail cache files
177+
Thumbs.db
178+
Thumbs.db:encryptable
179+
ehthumbs.db
180+
ehthumbs_vista.db
181+
182+
# Dump file
183+
*.stackdump
184+
185+
# Folder config file
186+
[Dd]esktop.ini
187+
188+
# Recycle Bin used on file shares
189+
$RECYCLE.BIN/
190+
191+
# Windows Installer files
192+
*.cab
193+
*.msi
194+
*.msix
195+
*.msm
196+
*.msp
197+
198+
# Windows shortcuts
199+
*.lnk
200+
201+
### Gradle ###
202+
.gradle
203+
**/build/
204+
!src/**/build/
205+
206+
# Ignore Gradle GUI config
207+
gradle-app.setting
208+
209+
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
210+
!gradle-wrapper.jar
211+
212+
# Avoid ignore Gradle wrappper properties
213+
!gradle-wrapper.properties
214+
215+
# Cache of project
216+
.gradletasknamecache
217+
218+
# Eclipse Gradle plugin generated files
219+
# Eclipse Core
220+
.project
221+
# JDT-specific (Eclipse Java Development Tools)
222+
.classpath
223+
224+
### Gradle Patch ###
225+
# Java heap dump
226+
*.hprof
227+
228+
# End of https://www.toptal.com/developers/gitignore/api/windows,intellij,visualstudiocode,gradle,kotlin,java

.gitpod.Dockerfile

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

.gitpod.yml

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

.idea/.gitignore

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/compiler.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/inspectionProfiles/Project_Default.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)