commit 73bb9047c45a5ef4952105154588b0d49fa1620c parent 01f564df27fabe12b41f4f21ff2f39628a325576 Author: chunksize <reisingerluca@gmail.com> Date: Wed, 4 Sep 2024 04:24:02 +0200 feat: Added gradle build file for vscode Diffstat:
M | .gitignore | | | 5 | ++--- |
A | build.gradle | | | 26 | ++++++++++++++++++++++++++ |
2 files changed, 28 insertions(+), 3 deletions(-)
diff --git a/.gitignore b/.gitignore @@ -1,4 +1,3 @@ poppy.jar .gradle/ -build/ -build.gradle -\ No newline at end of file +build/ +\ No newline at end of file diff --git a/build.gradle b/build.gradle @@ -0,0 +1,26 @@ +apply plugin: 'java' + +sourceSets { + main { + java { + srcDirs 'src' + } + resources { + srcDirs 'res' + } + } +} + +repositories { + mavenCentral() + maven { + url = 'https://hub.spigotmc.org/nexus/content/repositories/public/' + } +} + +sourceCompatibility = 1.11 +targetCompatibility = 1.11 + +dependencies { + implementation 'org.spigotmc:spigot-api:1.21.1-R0.1-SNAPSHOT' +}