Skip to content

Commit 6b4ff4b

Browse files
authored
convert to kotlin (#2)
convert to kotlin
1 parent 2f2e2aa commit 6b4ff4b

32 files changed

+2201
-3618
lines changed

Diff for: .github/workflows/gradle.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Java CI
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
10+
jobs:
11+
build:
12+
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v2
17+
- name: Set up JDK 11
18+
uses: actions/setup-java@v2
19+
with:
20+
java-version: '11'
21+
distribution: 'adopt'
22+
- name: Validate Gradle wrapper
23+
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b
24+
- name: Build with Gradle
25+
run: ./gradlew build

Diff for: .github/workflows/maven.yml

-22
This file was deleted.

Diff for: .gitignore

+136-5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
2+
### Intellij ###
3+
.idea/
4+
out/
5+
# File-based project format
6+
*.iws
7+
# JIRA plugin
8+
atlassian-ide-plugin.xml
9+
10+
# Crashlytics plugin (for Android Studio and IntelliJ)
11+
com_crashlytics_export_strings.xml
12+
crashlytics.properties
13+
crashlytics-build.properties
14+
fabric.properties
15+
16+
# mpeltonen/sbt-idea plugin
17+
.idea_modules/
18+
19+
20+
# Created by https://www.toptal.com/developers/gitignore/api/windows,macos,linux,visualstudiocode,gradle,kotlin
21+
# Edit at https://www.toptal.com/developers/gitignore?templates=windows,macos,linux,visualstudiocode,gradle,kotlin
22+
23+
### Kotlin ###
124
# Compiled class file
225
*.class
326

@@ -21,11 +44,119 @@
2144

2245
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
2346
hs_err_pid*
24-
/bin/
2547

26-
# eclipse
27-
.settings/
28-
.classpath
48+
### Linux ###
49+
*~
50+
51+
# temporary files which can be created if a process still has a handle open of a deleted file
52+
.fuse_hidden*
53+
54+
# KDE directory preferences
55+
.directory
56+
57+
# Linux trash folder which might appear on any partition or disk
58+
.Trash-*
59+
60+
# .nfs files are created when an open file is removed but is still being accessed
61+
.nfs*
62+
63+
### macOS ###
64+
# General
65+
.DS_Store
66+
.AppleDouble
67+
.LSOverride
68+
69+
# Icon must end with two \r
70+
Icon
71+
72+
73+
# Thumbnails
74+
._*
75+
76+
# Files that might appear in the root of a volume
77+
.DocumentRevisions-V100
78+
.fseventsd
79+
.Spotlight-V100
80+
.TemporaryItems
81+
.Trashes
82+
.VolumeIcon.icns
83+
.com.apple.timemachine.donotpresent
84+
85+
# Directories potentially created on remote AFP share
86+
.AppleDB
87+
.AppleDesktop
88+
Network Trash Folder
89+
Temporary Items
90+
.apdisk
91+
92+
### VisualStudioCode ###
93+
.vscode/*
94+
!.vscode/settings.json
95+
!.vscode/tasks.json
96+
!.vscode/launch.json
97+
!.vscode/extensions.json
98+
*.code-workspace
99+
100+
# Local History for Visual Studio Code
101+
.history/
102+
103+
### VisualStudioCode Patch ###
104+
# Ignore all local history of files
105+
.history
106+
.ionide
107+
108+
# Support for Project snippet scope
109+
!.vscode/*.code-snippets
110+
111+
### Windows ###
112+
# Windows thumbnail cache files
113+
Thumbs.db
114+
Thumbs.db:encryptable
115+
ehthumbs.db
116+
ehthumbs_vista.db
117+
118+
# Dump file
119+
*.stackdump
120+
121+
# Folder config file
122+
[Dd]esktop.ini
123+
124+
# Recycle Bin used on file shares
125+
$RECYCLE.BIN/
126+
127+
# Windows Installer files
128+
*.cab
129+
*.msi
130+
*.msix
131+
*.msm
132+
*.msp
133+
134+
# Windows shortcuts
135+
*.lnk
136+
137+
### Gradle ###
138+
.gradle
139+
build/
140+
141+
# Ignore Gradle GUI config
142+
gradle-app.setting
143+
144+
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
145+
!gradle-wrapper.jar
146+
147+
# Cache of project
148+
.gradletasknamecache
149+
150+
# # Work around https://youtrack.jetbrains.com/issue/IDEA-116898
151+
# gradle/wrapper/gradle-wrapper.properties
152+
153+
### Gradle Patch ###
154+
**/build/
155+
156+
# Eclipse Gradle plugin generated files
157+
# Eclipse Core
29158
.project
159+
# JDT-specific (Eclipse Java Development Tools)
160+
.classpath
30161

31-
target/
162+
# End of https://www.toptal.com/developers/gitignore/api/windows,macos,linux,intellij,visualstudiocode,gradle,kotlin

Diff for: LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ copies or substantial portions of the Software.
1414

1515
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1616
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17+
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
1818
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE

0 commit comments

Comments
 (0)