diff --git a/alt.gradle b/alt.gradle index a7b375d..edd27ee 100644 --- a/alt.gradle +++ b/alt.gradle @@ -59,6 +59,7 @@ processResources { compileJava.options.encoding("UTF-8") +libsDirectory = file("/out") shadowJar { archiveClassifier.set('') relocate 'org.bstats', 'fr.mathildeuh.utils' diff --git a/build.gradle b/build.gradle index 3e7668e..b7a3b4f 100644 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,7 @@ plugins { } group = 'fr.Mathildeuh' -version = '0' +version = '1.1.3' repositories { mavenCentral() @@ -21,11 +21,12 @@ repositories { } dependencies { - compileOnly "org.spigotmc:spigot-api:1.20.4-R0.1-SNAPSHOT" + compileOnly "org.spigotmc:spigot:1.20.4-R0.1-SNAPSHOT:remapped-mojang" implementation "org.bstats:bstats-bukkit:3.0.2" implementation "net.kyori:adventure-text-minimessage:4.17.0" implementation "net.kyori:adventure-platform-bukkit:4.3.2" implementation 'org.json:json:20210307' + } def targetJavaVersion = 17 @@ -57,6 +58,8 @@ processResources { compileJava.options.encoding("UTF-8") + +libsDirectory = file("E:\\Servers\\1.20.4\\plugins") shadowJar { archiveClassifier.set('') relocate 'org.bstats', 'fr.mathildeuh.utils'