Skip to content

Commit bf3d9c6

Browse files
author
Atakku
committed
Initial commit
0 parents  commit bf3d9c6

File tree

12 files changed

+1264
-0
lines changed

12 files changed

+1264
-0
lines changed

.github/workflows/build.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Build
2+
on:
3+
push:
4+
branches: [ master ]
5+
pull_request:
6+
branches: [ master ]
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Check out repository
12+
uses: actions/checkout@v2
13+
- name: Setup Java
14+
uses: actions/setup-java@v1
15+
with:
16+
java-version: 8
17+
- name: Gradle build
18+
uses: eskatos/gradle-command-action@v1
19+
with:
20+
arguments: build
21+
- name: Get build
22+
id: getbuild
23+
run: echo "::set-output name=file::$(cd build/libs/ && ls *.jar)"
24+
- name: Create Release
25+
id: create_release
26+
uses: actions/create-release@v1
27+
env:
28+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29+
with:
30+
tag_name: ${{ github.sha }}
31+
release_name: Release ${{ github.sha }}
32+
draft: true
33+
prerelease: false
34+
- name: Upload Release Asset
35+
id: upload-release-asset
36+
uses: actions/upload-release-asset@v1
37+
env:
38+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39+
with:
40+
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
41+
asset_path: build/libs/${{ steps.getbuild.outputs.file }}
42+
asset_name: ${{ steps.getbuild.outputs.file }}
43+
asset_content_type: application/java-archive

.gitignore

Lines changed: 148 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
1+
2+
# Created by https://www.gitignore.io/api/java,gradle,kotlin,intellij+all
3+
# Edit at https://www.gitignore.io/?templates=java,gradle,kotlin,intellij+all
4+
5+
### Intellij+all ###
6+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
7+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
8+
9+
# User-specific stuff
10+
.idea/**/workspace.xml
11+
.idea/**/tasks.xml
12+
.idea/**/usage.statistics.xml
13+
.idea/**/dictionaries
14+
.idea/**/shelf
15+
16+
# Generated files
17+
.idea/**/contentModel.xml
18+
19+
# Sensitive or high-churn files
20+
.idea/**/dataSources/
21+
.idea/**/dataSources.ids
22+
.idea/**/dataSources.local.xml
23+
.idea/**/sqlDataSources.xml
24+
.idea/**/dynamic.xml
25+
.idea/**/uiDesigner.xml
26+
.idea/**/dbnavigator.xml
27+
28+
# Gradle
29+
.idea/**/gradle.xml
30+
.idea/**/libraries
31+
32+
# Gradle and Maven with auto-import
33+
# When using Gradle or Maven with auto-import, you should exclude module files,
34+
# since they will be recreated, and may cause churn. Uncomment if using
35+
# auto-import.
36+
# .idea/modules.xml
37+
# .idea/*.iml
38+
# .idea/modules
39+
# *.iml
40+
# *.ipr
41+
42+
# CMake
43+
cmake-build-*/
44+
45+
# Mongo Explorer plugin
46+
.idea/**/mongoSettings.xml
47+
48+
# File-based project format
49+
*.iws
50+
51+
# IntelliJ
52+
out/
53+
54+
# mpeltonen/sbt-idea plugin
55+
.idea_modules/
56+
57+
# JIRA plugin
58+
atlassian-ide-plugin.xml
59+
60+
# Cursive Clojure plugin
61+
.idea/replstate.xml
62+
63+
# Crashlytics plugin (for Android Studio and IntelliJ)
64+
com_crashlytics_export_strings.xml
65+
crashlytics.properties
66+
crashlytics-build.properties
67+
fabric.properties
68+
69+
# Editor-based Rest Client
70+
.idea/httpRequests
71+
72+
# Android studio 3.1+ serialized cache file
73+
.idea/caches/build_file_checksums.ser
74+
75+
### Intellij+all Patch ###
76+
# Ignores the whole .idea folder and all .iml files
77+
# See https://github.com/joeblau/gitignore.io/issues/186 and https://github.com/joeblau/gitignore.io/issues/360
78+
79+
.idea/
80+
81+
# Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-249601023
82+
83+
*.iml
84+
modules.xml
85+
.idea/misc.xml
86+
*.ipr
87+
88+
# Sonarlint plugin
89+
.idea/sonarlint
90+
91+
### Java ###
92+
# Compiled class file
93+
*.class
94+
95+
# Log file
96+
*.log
97+
98+
# BlueJ files
99+
*.ctxt
100+
101+
# Mobile Tools for Java (J2ME)
102+
.mtj.tmp/
103+
104+
# Package Files #
105+
*.jar
106+
*.war
107+
*.nar
108+
*.ear
109+
*.zip
110+
*.tar.gz
111+
*.rar
112+
113+
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
114+
hs_err_pid*
115+
116+
### Kotlin ###
117+
# Compiled class file
118+
119+
# Log file
120+
121+
# BlueJ files
122+
123+
# Mobile Tools for Java (J2ME)
124+
125+
# Package Files #
126+
127+
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
128+
129+
### Gradle ###
130+
.gradle
131+
build/
132+
133+
# Ignore Gradle GUI config
134+
gradle-app.setting
135+
136+
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
137+
!gradle-wrapper.jar
138+
139+
# Cache of project
140+
.gradletasknamecache
141+
142+
# # Work around https://youtrack.jetbrains.com/issue/IDEA-116898
143+
# gradle/wrapper/gradle-wrapper.properties
144+
145+
### Gradle Patch ###
146+
**/build/
147+
148+
# End of https://www.gitignore.io/api/java,gradle,kotlin,intellij+all

0 commit comments

Comments
 (0)