@@ -4,12 +4,12 @@ plugins {
44}
55
66group = ' net.democracycraft'
7- version = ' 1.1 .0'
7+ version = ' 1.2 .0'
88
99repositories {
1010 mavenCentral()
1111 maven {
12- name = " papermc-repo "
12+ name = " papermc"
1313 url = " https://repo.papermc.io/repository/maven-public/"
1414 }
1515 maven {
@@ -24,9 +24,16 @@ repositories {
2424 name = " essentialsx"
2525 url = " https://repo.essentialsx.net/releases/"
2626 }
27+ maven{
28+ name = " essentialsx-snapshots"
29+ url = " https://repo.essentialsx.net/snapshots/"
30+ }
2731 maven {
2832 name = " jitpack"
2933 url = " https://jitpack.io"
34+ content {
35+ includeGroupByRegex " com\\ .github\\ .MCCitiesNetwork.*"
36+ }
3037 }
3138 maven{
3239 name = " opencollab"
@@ -46,12 +53,14 @@ dependencies {
4653 String democracyLibVersion = " 3f0213ee92"
4754 String democracyLib = " com.github.MCCitiesNetwork:DemocracyLib:$democracyLibVersion "
4855 implementation(democracyLib)
49- compileOnly(" io.papermc.paper:paper-api:1.21.8-R0.1-SNAPSHOT " )
56+ compileOnly(" io.papermc.paper:paper-api:26.1.1.build+ " )
5057 compileOnly(" org.popcraft:bolt-bukkit:1.1.33" )
5158 compileOnly(" org.popcraft:bolt-common:1.1.33" )
52- compileOnly(" com.sk89q.worldguard:worldguard-bukkit:7.0.14" )
53- compileOnly(" net.essentialsx:EssentialsX:2.21.2" )
54- compileOnly(" org.geysermc.floodgate:api:2.2.4-SNAPSHOT" )
59+ compileOnly(" com.sk89q.worldguard:worldguard-bukkit:7.0.17" )
60+ compileOnly(" net.essentialsx:EssentialsX:2.21.2" ){
61+ exclude group : " org.spigotmc" , module : " spigot-api"
62+ }
63+ compileOnly(' org.geysermc.floodgate:api:2.2.5-SNAPSHOT' )
5564 compileOnly(" com.acrobot.chestshop:chestshop:3.12.2" )
5665 compileOnly(" io.github.md5sha256:realty-paper-api:1.4.0" ) { transitive = false }
5766}
@@ -61,18 +70,13 @@ tasks {
6170 // Configure the Minecraft version for our task.
6271 // This is the only required configuration besides applying the plugin.
6372 // Your plugin's jar (or shadowJar if present) will be used automatically.
64- minecraftVersion(" 1.21.8 " )
73+ minecraftVersion(" 26.1.1 " )
6574 }
6675}
6776
68- def targetJavaVersion = 21
77+ def targetJavaVersion = 25
6978java {
70- def javaVersion = JavaVersion . toVersion(targetJavaVersion)
71- sourceCompatibility = javaVersion
72- targetCompatibility = javaVersion
73- if (JavaVersion . current() < javaVersion) {
74- toolchain. languageVersion = JavaLanguageVersion . of(targetJavaVersion)
75- }
79+ toolchain. languageVersion. set(JavaLanguageVersion . of(targetJavaVersion))
7680}
7781
7882tasks. withType(JavaCompile ). configureEach {
0 commit comments