chore: change broken gradle

This commit is contained in:
Sekwah 2023-04-06 18:41:18 +01:00
parent d0970ea55c
commit 53a4deb9ab
No known key found for this signature in database
GPG Key ID: 9E0D654FC942286D
2 changed files with 8 additions and 6 deletions

View File

@ -90,6 +90,9 @@ minecraftServerConfig {
jvmArgument = ["-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005", "-DIReallyKnowWhatIAmDoingISwear=true"]
}
tasks.withType(Jar) {
duplicatesStrategy = DuplicatesStrategy.WARN
}
task copyPlugin() {
doLast {

View File

@ -21,12 +21,11 @@ repositories {
// includeLibs just says to include the library in the final jar
dependencies {
includeLibs group: 'com.google.code.gson', name: 'gson', version:'2.8.2'
compile group: 'com.google.code.gson', name: 'gson', version:'2.8.2'
includeLibs group: 'com.google.inject', name: 'guice', version:'4.0'
compile group: 'com.google.inject', name: 'guice', version:'4.0'
compile group: 'com.google.guava', name: 'guava', version: '29.0-jre'
//includeLibs group: 'com.google.code.gson', name: 'gson', version:'2.8.2'
implementation group: 'com.google.code.gson', name: 'gson', version:'2.8.2'
//includeLibs group: 'com.google.inject', name: 'guice', version:'4.0'
implementation group: 'com.google.inject', name: 'guice', version:'4.0'
implementation group: 'com.google.guava', name: 'guava', version: '29.0-jre'
// For spigot api
implementation "org.spigotmc:spigot-api:1.16.1-R0.1-SNAPSHOT"