Skip to content

Commit f403529

Browse files
Initial commit
0 parents  commit f403529

File tree

7 files changed

+192
-0
lines changed

7 files changed

+192
-0
lines changed

.gitignore

Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
# User-specific stuff
2+
.idea/
3+
4+
*.iml
5+
*.ipr
6+
*.iws
7+
8+
# IntelliJ
9+
out/
10+
# mpeltonen/sbt-idea plugin
11+
.idea_modules/
12+
13+
# JIRA plugin
14+
atlassian-ide-plugin.xml
15+
16+
# Compiled class file
17+
*.class
18+
19+
# Log file
20+
*.log
21+
22+
# BlueJ files
23+
*.ctxt
24+
25+
# Package Files #
26+
*.jar
27+
*.war
28+
*.nar
29+
*.ear
30+
*.zip
31+
*.tar.gz
32+
*.rar
33+
34+
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
35+
hs_err_pid*
36+
37+
*~
38+
39+
# temporary files which can be created if a process still has a handle open of a deleted file
40+
.fuse_hidden*
41+
42+
# KDE directory preferences
43+
.directory
44+
45+
# Linux trash folder which might appear on any partition or disk
46+
.Trash-*
47+
48+
# .nfs files are created when an open file is removed but is still being accessed
49+
.nfs*
50+
51+
# General
52+
.DS_Store
53+
.AppleDouble
54+
.LSOverride
55+
56+
# Icon must end with two \r
57+
Icon
58+
59+
# Thumbnails
60+
._*
61+
62+
# Files that might appear in the root of a volume
63+
.DocumentRevisions-V100
64+
.fseventsd
65+
.Spotlight-V100
66+
.TemporaryItems
67+
.Trashes
68+
.VolumeIcon.icns
69+
.com.apple.timemachine.donotpresent
70+
71+
# Directories potentially created on remote AFP share
72+
.AppleDB
73+
.AppleDesktop
74+
Network Trash Folder
75+
Temporary Items
76+
.apdisk
77+
78+
# Windows thumbnail cache files
79+
Thumbs.db
80+
Thumbs.db:encryptable
81+
ehthumbs.db
82+
ehthumbs_vista.db
83+
84+
# Dump file
85+
*.stackdump
86+
87+
# Folder config file
88+
[Dd]esktop.ini
89+
90+
# Recycle Bin used on file shares
91+
$RECYCLE.BIN/
92+
93+
# Windows Installer files
94+
*.cab
95+
*.msi
96+
*.msix
97+
*.msm
98+
*.msp
99+
100+
# Windows shortcuts
101+
*.lnk
102+
103+
.gradle
104+
build/
105+
106+
# Ignore Gradle GUI config
107+
gradle-app.setting
108+
109+
# Cache of project
110+
.gradletasknamecache
111+
112+
**/build/
113+
114+
# Common working directory
115+
run/
116+
117+
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
118+
!gradle-wrapper.jar

build.gradle

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
plugins {
2+
id 'java'
3+
}
4+
5+
group = 'de.littleprogrammer'
6+
version = '0.0.1'
7+
8+
repositories {
9+
mavenCentral()
10+
maven {
11+
name = "spigotmc-repo"
12+
url = "https://hub.spigotmc.org/nexus/content/repositories/snapshots/"
13+
}
14+
maven {
15+
name = "sonatype"
16+
url = "https://oss.sonatype.org/content/groups/public/"
17+
}
18+
}
19+
20+
dependencies {
21+
compileOnly "org.spigotmc:spigot-api:1.19.4-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+
options.encoding = 'UTF-8'
36+
37+
if (targetJavaVersion >= 10 || JavaVersion.current().isJava10Compatible()) {
38+
options.release.set(targetJavaVersion)
39+
}
40+
}
41+
42+
processResources {
43+
def props = [version: version]
44+
inputs.properties props
45+
filteringCharset 'UTF-8'
46+
filesMatching('plugin.yml') {
47+
expand props
48+
}
49+
}

gradle.properties

Whitespace-only changes.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip

settings.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
rootProject.name = 'guiapi'
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
package de.littleprogrammer.guiapi;
2+
3+
import org.bukkit.plugin.java.JavaPlugin;
4+
5+
public final class Api extends JavaPlugin {
6+
7+
@Override
8+
public void onEnable() {
9+
// Plugin startup logic
10+
11+
}
12+
13+
@Override
14+
public void onDisable() {
15+
// Plugin shutdown logic
16+
}
17+
}

src/main/resources/plugin.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
name: 3dGuiApi
2+
version: '${version}'
3+
main: de.littleprogrammer.guiapi.Api
4+
api-version: '1.19'
5+
authors: [LittleProgrammer]
6+
description: An API to make 3D Gui's in minecraft

0 commit comments

Comments
 (0)