@@ -6,103 +6,108 @@ plugins {
66
77
88group = ' dev.unnm3d'
9- version = ' 4.6.1 '
9+ version = ' 5.3 '
1010
1111
1212repositories {
1313 mavenLocal()
14- maven { url ' https://s01.oss.sonatype. org/content/repositories/snapshots ' }
14+ maven { url ' https://repo.spicord. org/' }
1515 maven { url ' https://jitpack.io' }
16- maven { url ' https://repo.papermc.io/repository/maven-public /' }
16+ maven { url ' https://hub.spigotmc.org/nexus/content/repositories/snapshots /' }
1717 maven { url ' https://repo.extendedclip.com/content/repositories/placeholderapi/' }
1818 maven { url ' https://repo.xenondevs.xyz/releases' }
1919 maven { url ' https://repo.maven.apache.org/maven2/' }
20-
2120}
2221
2322dependencies {
2423 compileOnly ' net.kyori:adventure-text-minimessage:4.17.0'
2524 compileOnly ' net.kyori:adventure-text-serializer-plain:4.17.0'
25+ compileOnly ' net.kyori:adventure-text-serializer-legacy:4.17.0'
26+ compileOnly ' net.kyori:adventure-platform-bukkit:4.3.3'
27+ compileOnly ' com.alibaba:fastjson:2.0.52'
2628
2729 implementation ' com.github.Exlll.ConfigLib:configlib-paper:v4.5.0'
28- implementation ' xyz.xenondevs.invui:invui-core:1.31 '
29- implementation ' xyz.xenondevs.invui:inventory-access-r7:1.31 '
30- implementation ' xyz.xenondevs.invui:inventory-access-r9 :1.31 '
31- implementation ' xyz.xenondevs.invui:inventory-access-r11 :1.31 '
32- implementation ' xyz.xenondevs.invui:inventory-access-r14 :1.31 '
33- implementation ' xyz.xenondevs.invui:inventory-access-r15 :1.31 '
34- implementation ' xyz.xenondevs.invui:inventory-access-r16 :1.31 '
35- implementation ' xyz.xenondevs.invui:inventory-access-r17 :1.31 '
36- implementation ' xyz.xenondevs.invui:inventory-access-r18 :1.31 '
37- implementation ' xyz.xenondevs.invui:inventory-access-r19 :1.31 '
38- implementation ' dev.jorel:commandapi-bukkit-shade:9.5.0-SNAPSHOT '
30+ implementation ' xyz.xenondevs.invui:invui-core:1.35 '
31+ implementation ' xyz.xenondevs.invui:inventory-access-r7:1.35 '
32+ implementation ' xyz.xenondevs.invui:inventory-access-r11 :1.35 '
33+ implementation ' xyz.xenondevs.invui:inventory-access-r15 :1.35 '
34+ implementation ' xyz.xenondevs.invui:inventory-access-r16 :1.35 '
35+ implementation ' xyz.xenondevs.invui:inventory-access-r17 :1.35 '
36+ implementation ' xyz.xenondevs.invui:inventory-access-r18 :1.35 '
37+ implementation ' xyz.xenondevs.invui:inventory-access-r19 :1.35 '
38+ implementation ' xyz.xenondevs.invui:inventory-access-r20 :1.35 '
39+ implementation ' xyz.xenondevs.invui:inventory-access-r21 :1.35 '
40+ implementation ' dev.jorel:commandapi-bukkit-shade:9.5.3 '
3941 implementation ' com.github.Anon8281:UniversalScheduler:0.1.6'
4042
41- compileOnly ' io.papermc.paper:paper-api:1.20.1-R0.1-SNAPSHOT'
43+
44+ compileOnly ' org.spigotmc:spigot-api:1.19.4-R0.1-SNAPSHOT'
4245 compileOnly ' me.clip:placeholderapi:2.11.3'
43- compileOnly ' io.lettuce:lettuce-core:6.2.5.RELEASE'
44- compileOnly ' org.jetbrains:annotations:24.0.1'
45- compileOnly ' com.zaxxer:HikariCP:5.0.1'
46- compileOnly ' org.mariadb.jdbc:mariadb-java-client:3.1.4'
46+ compileOnly ' io.lettuce:lettuce-core:6.2.7.RELEASE'
47+ compileOnly ' org.jetbrains:annotations:24.1.0'
48+ compileOnly ' com.zaxxer:HikariCP:5.1.0'
4749 compileOnly ' net.luckperms:api:5.4'
4850 compileOnly ' com.github.MilkBowl:VaultAPI:1.7'
4951 compileOnly ' com.github.oraxen:oraxen:1.162.0'
5052 compileOnly ' com.github.LeonMangler:PremiumVanishAPI:2.8.8'
51- compileOnly ' org.projectlombok:lombok:1.18.32 '
53+ compileOnly ' org.projectlombok:lombok:1.18.34 '
5254 compileOnly ' com.github.Spicord.Spicord:spicord-common:v5-SNAPSHOT'
5355 compileOnly ' net.dv8tion:JDA:5.0.0-beta.16'
5456 compileOnly ' org.apache.commons:commons-collections4:4.4'
5557
58+ testImplementation ' org.junit.jupiter:junit-jupiter-api:5.10.2'
59+ testImplementation ' org.junit.jupiter:junit-jupiter-params:5.10.2'
60+ testImplementation ' org.junit.jupiter:junit-jupiter-engine:5.10.2'
61+ testImplementation ' io.papermc.paper:paper-api:1.20.1-R0.1-SNAPSHOT'
5662
57- annotationProcessor(' org.projectlombok:lombok:1.18.32' )
63+ annotationProcessor ' org.projectlombok:lombok:1.18.34'
64+ }
65+
66+ test {
67+ useJUnitPlatform()
5868}
5969
6070shadowJar {
6171 destinationDirectory. set(file(" $rootDir /target" ))
6272 archiveClassifier. set(' ' )
6373 dependencies {
64-
6574 include dependency(' com.github.Exlll.ConfigLib:configlib-paper' )
6675 include dependency(' com.github.Exlll.ConfigLib:configlib-yaml' )
6776 include dependency(" com.github.Exlll.ConfigLib:configlib-core" )
6877 include dependency(' xyz.xenondevs.invui:invui-core' )
6978 include dependency(' xyz.xenondevs.invui:inventory-access' )
7079 include dependency(' xyz.xenondevs.invui:inventory-access-r7' )
71- include dependency(' xyz.xenondevs.invui:inventory-access-r9' )
7280 include dependency(' xyz.xenondevs.invui:inventory-access-r11' )
73- include dependency(' xyz.xenondevs.invui:inventory-access-r14' )
7481 include dependency(' xyz.xenondevs.invui:inventory-access-r15' )
7582 include dependency(' xyz.xenondevs.invui:inventory-access-r16' )
7683 include dependency(' xyz.xenondevs.invui:inventory-access-r17' )
7784 include dependency(' xyz.xenondevs.invui:inventory-access-r18' )
7885 include dependency(' xyz.xenondevs.invui:inventory-access-r19' )
86+ include dependency(' xyz.xenondevs.invui:inventory-access-r20' )
87+ include dependency(' xyz.xenondevs.invui:inventory-access-r21' )
7988 include dependency(' dev.jorel:commandapi-bukkit-shade' )
8089 include dependency(' com.github.Anon8281:UniversalScheduler:0.1.6' )
8190 }
8291
8392 exclude ' colors.bin'
8493
85-
8694 relocate ' de.exlll.configlib' , ' dev.unnm3d.redischat.libraries.configlib'
8795 relocate ' xyz.xenondevs.invui' , ' dev.unnm3d.redischat.libraries.invui'
8896 relocate ' xyz.xenondevs.inventoryaccess' , ' dev.unnm3d.redischat.libraries.inventoryaccess'
8997 relocate ' dev.jorel.commandapi' , ' dev.unnm3d.redischat.libraries.commandapi'
9098 relocate ' com.github.Anon8281.universalScheduler' , ' dev.unnm3d.redischat.libraries.universalScheduler'
91-
9299}
93100
94- def sourceJavaVersion = 21
101+ def sourceJavaVersion = 17
95102def releaseJavaVersion = 17
96103
97104java {
98- toolchain{
105+ toolchain {
99106 languageVersion = JavaLanguageVersion . of(releaseJavaVersion)
100107 sourceCompatibility = JavaLanguageVersion . of(sourceJavaVersion)
101108 }
102109
103110 withSourcesJar()
104- withJavadocJar()
105-
106111}
107112compileJava. options. release. set releaseJavaVersion
108113compileJava. options. encoding ' UTF-8'
@@ -131,12 +136,10 @@ publishing {
131136 artifactId = ' redischat'
132137 version = " $version "
133138 artifact shadowJar
134- artifact javadocJar
135139 artifact sourcesJar
136140 }
137141 }
138142}
139143
140-
141144jar. dependsOn shadowJar
142145clean. delete " $rootDir /target"
0 commit comments