Skip to content
This repository was archived by the owner on Jul 24, 2021. It is now read-only.

Commit fc8043e

Browse files
committed
🎉 First commit of CommandAPI
0 parents  commit fc8043e

File tree

15 files changed

+1975
-0
lines changed

15 files changed

+1975
-0
lines changed
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
on:
2+
push:
3+
branches:
4+
- master
5+
6+
name: Create Release
7+
8+
jobs:
9+
build:
10+
name: Create Release
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v2.3.4
15+
- name: Set up JDK
16+
uses: actions/setup-java@v1.4.3
17+
with:
18+
java-version: 1.8
19+
java-package: jdk
20+
- name: Make gradlew executable
21+
run: chmod +x ./gradlew
22+
- name: Build with Gradle
23+
id: gradle_build
24+
run: ./gradlew clean build
25+
- name: Create Release
26+
id: create_release
27+
uses: actions/create-release@v1
28+
env:
29+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
30+
with:
31+
tag_name: ${{ github.run_id }}
32+
release_name: ${{ github.event.commits[0].message }}
33+
body: |
34+
${{ github.event.commit.message }}
35+
To integrate to gradle:
36+
```gradle
37+
repositories {
38+
maven { url 'https://jitpack.io' }
39+
}
40+
dependencies {
41+
implementation group: 'com.github.BakaAless', name: 'CommandAPI', version: '${{ github.run_id }}'
42+
}
43+
```
44+
draft: false
45+
prerelease: false
46+
- name: Upload Release Asset
47+
id: upload-release-asset
48+
uses: actions/upload-release-asset@v1
49+
env:
50+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
51+
with:
52+
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
53+
asset_path: build/libs/CommandAPI.jar
54+
asset_name: CommandAPI.jar
55+
asset_content_type: application/java-archive

‎.gitignore‎

Lines changed: 250 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,250 @@
1+
### macOS template
2+
# General
3+
.DS_Store
4+
.AppleDouble
5+
.LSOverride
6+
7+
# Icon must end with two \r
8+
Icon
9+
10+
# Thumbnails
11+
._*
12+
13+
# Files that might appear in the root of a volume
14+
.DocumentRevisions-V100
15+
.fseventsd
16+
.Spotlight-V100
17+
.TemporaryItems
18+
.Trashes
19+
.VolumeIcon.icns
20+
.com.apple.timemachine.donotpresent
21+
22+
# Directories potentially created on remote AFP share
23+
.AppleDB
24+
.AppleDesktop
25+
Network Trash Folder
26+
Temporary Items
27+
.apdisk
28+
29+
### Eclipse template
30+
.metadata
31+
bin/
32+
tmp/
33+
*.tmp
34+
*.bak
35+
*.swp
36+
*~.nib
37+
local.properties
38+
.settings/
39+
.loadpath
40+
.recommenders
41+
42+
# External tool builders
43+
.externalToolBuilders/
44+
45+
# Locally stored "Eclipse launch configurations"
46+
*.launch
47+
48+
# PyDev specific (Python IDE for Eclipse)
49+
*.pydevproject
50+
51+
# CDT-specific (C/C++ Development Tooling)
52+
.cproject
53+
54+
# CDT- autotools
55+
.autotools
56+
57+
# Java annotation processor (APT)
58+
.factorypath
59+
60+
# PDT-specific (PHP Development Tools)
61+
.buildpath
62+
63+
# sbteclipse plugin
64+
.target
65+
66+
# Tern plugin
67+
.tern-project
68+
69+
# TeXlipse plugin
70+
.texlipse
71+
72+
# STS (Spring Tool Suite)
73+
.springBeans
74+
75+
# Code Recommenders
76+
.recommenders/
77+
78+
# Annotation Processing
79+
.apt_generated/
80+
.apt_generated_test/
81+
82+
# Scala IDE specific (Scala & Java development for Eclipse)
83+
.cache-main
84+
.scala_dependencies
85+
.worksheet
86+
87+
# Uncomment this line if you wish to ignore the project description file.
88+
# Typically, this file would be tracked if it contains build/dependency configurations:
89+
#.project
90+
91+
### Gradle template
92+
.gradle
93+
**/build/
94+
!src/**/build/
95+
96+
# Ignore Gradle GUI config
97+
gradle-app.setting
98+
99+
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
100+
!gradle-wrapper.jar
101+
102+
# Cache of project
103+
.gradletasknamecache
104+
105+
# # Work around https://youtrack.jetbrains.com/issue/IDEA-116898
106+
# gradle/wrapper/gradle-wrapper.properties
107+
108+
### JetBrains template
109+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
110+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
111+
112+
# User-specific stuff
113+
.idea/**/workspace.xml
114+
.idea/**/tasks.xml
115+
.idea/**/usage.statistics.xml
116+
.idea/**/dictionaries
117+
.idea/**/shelf
118+
119+
# Generated files
120+
.idea/**/contentModel.xml
121+
122+
# Sensitive or high-churn files
123+
.idea/**/dataSources/
124+
.idea/**/dataSources.ids
125+
.idea/**/dataSources.local.xml
126+
.idea/**/sqlDataSources.xml
127+
.idea/**/dynamic.xml
128+
.idea/**/uiDesigner.xml
129+
.idea/**/dbnavigator.xml
130+
131+
# Gradle
132+
.idea/**/gradle.xml
133+
.idea/**/libraries
134+
135+
# Gradle and Maven with auto-import
136+
# When using Gradle or Maven with auto-import, you should exclude module files,
137+
# since they will be recreated, and may cause churn. Uncomment if using
138+
# auto-import.
139+
# .idea/artifacts
140+
# .idea/compiler.xml
141+
# .idea/jarRepositories.xml
142+
# .idea/modules.xml
143+
# .idea/*.iml
144+
# .idea/modules
145+
# *.iml
146+
# *.ipr
147+
148+
# CMake
149+
cmake-build-*/
150+
151+
# Mongo Explorer plugin
152+
.idea/**/mongoSettings.xml
153+
154+
# File-based project format
155+
*.iws
156+
157+
# IntelliJ
158+
out/
159+
160+
# mpeltonen/sbt-idea plugin
161+
.idea_modules/
162+
163+
# JIRA plugin
164+
atlassian-ide-plugin.xml
165+
166+
# Cursive Clojure plugin
167+
.idea/replstate.xml
168+
169+
# Crashlytics plugin (for Android Studio and IntelliJ)
170+
com_crashlytics_export_strings.xml
171+
crashlytics.properties
172+
crashlytics-build.properties
173+
fabric.properties
174+
175+
# Editor-based Rest Client
176+
.idea/httpRequests
177+
178+
# Android studio 3.1+ serialized cache file
179+
.idea/caches/build_file_checksums.ser
180+
181+
### Example user template template
182+
### Example user template
183+
184+
# IntelliJ project files
185+
.idea
186+
*.iml
187+
out
188+
gen
189+
### Java template
190+
# Compiled class file
191+
*.class
192+
193+
# Log file
194+
*.log
195+
196+
# BlueJ files
197+
*.ctxt
198+
199+
# Mobile Tools for Java (J2ME)
200+
.mtj.tmp/
201+
202+
# Package Files #
203+
*.jar
204+
*.war
205+
*.nar
206+
*.ear
207+
*.zip
208+
*.tar.gz
209+
*.rar
210+
211+
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
212+
hs_err_pid*
213+
214+
### Windows template
215+
# Windows thumbnail cache files
216+
Thumbs.db
217+
Thumbs.db:encryptable
218+
ehthumbs.db
219+
ehthumbs_vista.db
220+
221+
# Dump file
222+
*.stackdump
223+
224+
# Folder config file
225+
[Dd]esktop.ini
226+
227+
# Recycle Bin used on file shares
228+
$RECYCLE.BIN/
229+
230+
# Windows Installer files
231+
*.cab
232+
*.msi
233+
*.msix
234+
*.msm
235+
*.msp
236+
237+
# Windows shortcuts
238+
*.lnk
239+
240+
### VisualStudioCode template
241+
.vscode/*
242+
!.vscode/settings.json
243+
!.vscode/tasks.json
244+
!.vscode/launch.json
245+
!.vscode/extensions.json
246+
*.code-workspace
247+
248+
# Local History for Visual Studio Code
249+
.history/
250+

0 commit comments

Comments
 (0)