Skip to content

Commit 7885a2b

Browse files
author
Francisco Solis
committed
Initial Commit
0 parents  commit 7885a2b

31 files changed

+1982
-0
lines changed

.gitattributes

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

.github/FUNDING.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# These are supported funding model platforms
2+
3+
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
4+
patreon: TheProgramSrc # Replace with a single Patreon username
5+
open_collective: # Replace with a single Open Collective username
6+
ko_fi: # Replace with a single Ko-fi username
7+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
liberapay: # Replace with a single Liberapay username
10+
issuehunt: # Replace with a single IssueHunt username
11+
otechie: # Replace with a single Otechie username
12+
custom: ['https://go.theprogramsrc.xyz/donate']# Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']

.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 report to help us improve
4+
title: "[BUG]"
5+
labels: bug
6+
assignees: Im-Fran
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior:
15+
1. Go to '...'
16+
2. Click on '....'
17+
3. Scroll down to '....'
18+
4. See error
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Screenshots**
24+
If applicable, add screenshots to help explain your problem.
25+
26+
**System Details (please complete the following information):**
27+
- OS: [e.g. Windows, macOS, Ubuntu]
28+
- Software And Version: [e.g Paper 1.12, Spigot 1.15.2, Bungee 1.16]
29+
- Version [e.g. v3.1.0, v3.1.1., v.3.2.0]
30+
31+
**Additional context**
32+
Add any other context about the problem here.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: "[FEATURE REQUEST]"
5+
labels: enhancement
6+
assignees: Im-Fran
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.

.github/workflows/gradle-build.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: "Build and Deploy"
2+
on:
3+
release:
4+
types: [published,edited]
5+
jobs:
6+
build:
7+
# Set up the OS
8+
runs-on: ubuntu-latest
9+
env:
10+
# Nexus credentials and GitHub token
11+
NEXUS_USERNAME: '${{ secrets.NEXUS_USERNAME }}'
12+
NEXUS_PASSWORD: '${{ secrets.NEXUS_PASSWORD }}'
13+
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
14+
# Set environment
15+
env: 'prod'
16+
steps:
17+
# Checkout the Code
18+
- name: Checkout Code
19+
uses: actions/checkout@v2
20+
# Set up git hashes environment variables
21+
- name: Git Hashes
22+
uses: Im-Fran/[email protected]
23+
# Set up version from tag environment variables
24+
- name: Version from Tag Action
25+
uses: Im-Fran/[email protected]
26+
with:
27+
remove-first-character: 'v'
28+
# Set up the JDK
29+
- name: Set up JDK 11
30+
uses: actions/setup-java@v2
31+
with:
32+
distribution: adopt
33+
java-version: 11
34+
# Make gradle executable
35+
- name: Make gradle executable
36+
run: chmod +x gradlew
37+
# Clean, Test, Publish and Build (in that order to save the artifact to the action)
38+
- name: Test, Deploy and Build with Gradle
39+
run: ./gradlew clean test publish shadow dokkaHtml
40+
# Now we store the artifact in the action
41+
- name: Upload the artifact
42+
uses: actions/upload-artifact@v2
43+
with:
44+
name: CommandsModule
45+
path: ./build/libs/CommandsModule-${{ env.VERSION }}.jar
46+
# Now we deploy the documents to GitHub pages
47+
- name: Deploy Dokka
48+
uses: JamesIves/[email protected]
49+
with:
50+
branch: gh-pages
51+
folder: build/dokka
52+
clean: true

.github/workflows/gradle-test.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: "Test"
2+
# Only execute this workflow when a PR is opened or when something is pushed to the master branch
3+
on: [push, pull_request]
4+
jobs:
5+
testBuilds:
6+
strategy:
7+
fail-fast: false
8+
max-parallel: 4
9+
matrix:
10+
java-version: [11,16,17]
11+
# Set up OS
12+
runs-on: ubuntu-latest
13+
# Set up environment variables
14+
env:
15+
env: 'local' # Set to local, so it won't deploy the jar to the repos
16+
steps:
17+
# Checkout code
18+
- name: Checkout Code
19+
uses: actions/checkout@v2
20+
# Setup java and maven
21+
- name: Set up JDK ${{ matrix.java-version }}
22+
uses: actions/setup-java@v2
23+
with:
24+
distribution: adopt
25+
java-version: ${{ matrix.java-version }}
26+
# Setup executable gradle
27+
- name: Make Gradle executable
28+
run: chmod +x gradlew
29+
# Test building without dokka
30+
- name: Build Jar with Java ${{ matrix.java-version }}
31+
run: ./gradlew clean publish shadow -x dokkaHtml
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: "Validate Gradle Wrapper"
2+
on: [push, pull_request]
3+
4+
jobs:
5+
validation:
6+
name: "Validation"
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
- uses: gradle/wrapper-validation-action@v1

.gitignore

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
target/
2+
pom.xml.tag
3+
pom.xml.releaseBackup
4+
pom.xml.versionsBackup
5+
pom.xml.next
6+
release.properties
7+
dependency-reduced-pom.xml
8+
buildNumber.properties
9+
.mvn/timing.properties
10+
.mvn/wrapper/maven-wrapper.jar
11+
.idea/**/workspace.xml
12+
.idea/**/tasks.xml
13+
.idea/**/usage.statistics.xml
14+
.idea/**/dictionaries
15+
.idea/**/shelf
16+
.idea/**/contentModel.xml
17+
.idea/**/dataSources/
18+
.idea/**/dataSources.ids
19+
.idea/**/dataSources.local.xml
20+
.idea/**/sqlDataSources.xml
21+
.idea/**/dynamic.xml
22+
.idea/**/uiDesigner.xml
23+
.idea/**/dbnavigator.xml
24+
.idea/**/gradle.xml
25+
.idea/**/libraries
26+
cmake-build-*/
27+
.idea/**/mongoSettings.xml
28+
*.iws
29+
out/
30+
.idea_modules/
31+
atlassian-ide-plugin.xml
32+
.idea/replstate.xml
33+
com_crashlytics_export_strings.xml
34+
crashlytics.properties
35+
crashlytics-build.properties
36+
fabric.properties
37+
.idea/httpRequests
38+
.idea/caches/build_file_checksums.ser
39+
*.class
40+
*.log
41+
*.ctxt
42+
.mtj.tmp/
43+
*.jar
44+
*.war
45+
*.nar
46+
*.ear
47+
*.zip
48+
*.tar.gz
49+
*.rar
50+
hs_err_pid*
51+
*.iml
52+
.DS_Store
53+
.AppleDouble
54+
.LSOverride
55+
Icon
56+
._*
57+
.DocumentRevisions-V100
58+
.fseventsd
59+
.Spotlight-V100
60+
.TemporaryItems
61+
.Trashes
62+
.VolumeIcon.icns
63+
.com.apple.timemachine.donotpresent
64+
.AppleDB
65+
.AppleDesktop
66+
Network Trash Folder
67+
Temporary Items
68+
.apdisk
69+
.classpath
70+
.project
71+
.settings/
72+
.env
73+
.secrets.env
74+
.gradle/
75+
build/
76+
bin/
77+
*.pom.xml
78+
modules/
79+
!gradle-wrapper.jar

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
## v0.1.0 - Snapshot
2+
Hello, World!

0 commit comments

Comments
 (0)