Converting to PDK
This commit is contained in:
11
build.gradle
11
build.gradle
@@ -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"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user