Skip to content

Commit fc2ffb5

Browse files
committed
Initiate
0 parents  commit fc2ffb5

File tree

11 files changed

+717
-0
lines changed

11 files changed

+717
-0
lines changed

.gitignore

Lines changed: 177 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,177 @@
1+
# Created by https://www.toptal.com/developers/gitignore/api/gradle,intellij+all,java,macos
2+
# Edit at https://www.toptal.com/developers/gitignore?templates=gradle,intellij+all,java,macos
3+
4+
### Intellij+all ###
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+all Patch ###
84+
# Ignore everything but code style settings and run configurations
85+
# that are supposed to be shared within teams.
86+
87+
.idea/*
88+
89+
!.idea/codeStyles
90+
!.idea/runConfigurations
91+
92+
### Java ###
93+
# Compiled class file
94+
*.class
95+
96+
# Log file
97+
*.log
98+
99+
# BlueJ files
100+
*.ctxt
101+
102+
# Mobile Tools for Java (J2ME)
103+
.mtj.tmp/
104+
105+
# Package Files #
106+
*.jar
107+
*.war
108+
*.nar
109+
*.ear
110+
*.zip
111+
*.tar.gz
112+
*.rar
113+
114+
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
115+
hs_err_pid*
116+
replay_pid*
117+
118+
### macOS ###
119+
# General
120+
.DS_Store
121+
.AppleDouble
122+
.LSOverride
123+
124+
# Icon must end with two \r
125+
Icon
126+
127+
# Thumbnails
128+
._*
129+
130+
# Files that might appear in the root of a volume
131+
.DocumentRevisions-V100
132+
.fseventsd
133+
.Spotlight-V100
134+
.TemporaryItems
135+
.Trashes
136+
.VolumeIcon.icns
137+
.com.apple.timemachine.donotpresent
138+
139+
# Directories potentially created on remote AFP share
140+
.AppleDB
141+
.AppleDesktop
142+
Network Trash Folder
143+
Temporary Items
144+
.apdisk
145+
146+
### macOS Patch ###
147+
# iCloud generated files
148+
*.icloud
149+
150+
### Gradle ###
151+
.gradle
152+
**/build/
153+
!src/**/build/
154+
155+
# Ignore Gradle GUI config
156+
gradle-app.setting
157+
158+
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
159+
!gradle-wrapper.jar
160+
161+
# Avoid ignore Gradle wrappper properties
162+
!gradle-wrapper.properties
163+
164+
# Cache of project
165+
.gradletasknamecache
166+
167+
# Eclipse Gradle plugin generated files
168+
# Eclipse Core
169+
.project
170+
# JDT-specific (Eclipse Java Development Tools)
171+
.classpath
172+
173+
### Gradle Patch ###
174+
# Java heap dump
175+
*.hprof
176+
177+
# End of https://www.toptal.com/developers/gitignore/api/gradle,intellij+all,java,macos

UNLICENSE

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
This is free and unencumbered software released into the public domain.
2+
3+
Anyone is free to copy, modify, publish, use, compile, sell, or
4+
distribute this software, either in source code form or as a compiled
5+
binary, for any purpose, commercial or non-commercial, and by any
6+
means.
7+
8+
In jurisdictions that recognize copyright laws, the author or authors
9+
of this software dedicate any and all copyright interest in the
10+
software to the public domain. We make this dedication for the benefit
11+
of the public at large and to the detriment of our heirs and
12+
successors. We intend this dedication to be an overt act of
13+
relinquishment in perpetuity of all present and future rights to this
14+
software under copyright law.
15+
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19+
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
20+
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
21+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22+
OTHER DEALINGS IN THE SOFTWARE.
23+
24+
For more information, please refer to <https://unlicense.org/>

build.gradle

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
plugins {
2+
id "java"
3+
}
4+
5+
group = "moe.minacle"
6+
version = "0.2.0"
7+
8+
repositories {
9+
mavenCentral()
10+
maven {
11+
name = "PaperMC"
12+
url = "https://repo.papermc.io/repository/maven-public/"
13+
}
14+
maven {
15+
name = "Sonatype"
16+
url = "https://oss.sonatype.org/content/groups/public/"
17+
}
18+
}
19+
20+
dependencies {
21+
compileOnly "io.papermc.paper:paper-api:1.20.2-R0.1-SNAPSHOT"
22+
}
23+
24+
def targetJavaVersion = 17
25+
java {
26+
def javaVersion = JavaVersion.toVersion(targetJavaVersion)
27+
sourceCompatibility = javaVersion
28+
targetCompatibility = javaVersion
29+
if (JavaVersion.current() < javaVersion) {
30+
toolchain.languageVersion = JavaLanguageVersion.of(targetJavaVersion)
31+
}
32+
}
33+
34+
tasks.withType(JavaCompile).configureEach {
35+
if (targetJavaVersion >= 10 || JavaVersion.current().isJava10Compatible()) {
36+
options.release = targetJavaVersion
37+
}
38+
}
39+
40+
processResources {
41+
def props = [version: version]
42+
inputs.properties props
43+
filteringCharset "UTF-8"
44+
filesMatching("plugin.yml") {
45+
expand props
46+
}
47+
}

gradle.properties

Whitespace-only changes.

gradle/wrapper/gradle-wrapper.jar

60.6 KB
Binary file not shown.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
distributionBase=GRADLE_USER_HOME
2+
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip
4+
networkTimeout=10000
5+
zipStoreBase=GRADLE_USER_HOME
6+
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)