Converting to PDK

This commit is contained in:
TheTrouper
2024-01-16 20:56:35 -06:00
parent 339c747e47
commit 8f13e018ee
46 changed files with 516 additions and 713 deletions

View File

@@ -5,6 +5,15 @@ plugins {
group = project.group
version = project.version
jar {
from {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
configurations.runtimeClasspath.collect {
it.isDirectory() ? it : zipTree(it)
}
}
}
repositories {
mavenCentral()
maven {
@@ -20,6 +29,7 @@ repositories {
dependencies {
compileOnly "org.spigotmc:spigot-api:1.20.2-R0.1-SNAPSHOT"
implementation 'com.google.code.gson:gson:2.10.1'
implementation files("libs/PDK-1.3.3.jar")
}
def targetJavaVersion = 16
@@ -52,4 +62,3 @@ compileJava.options.encoding("UTF-8")
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}