Skip to content

Commit d36fe96

Browse files
committed
chore: bump version to 1.2.0 and update dependencies in build.gradle and plugin.yml with minecraft version to 26.1
1 parent 9ca4240 commit d36fe96

3 files changed

Lines changed: 20 additions & 16 deletions

File tree

build.gradle

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ plugins {
44
}
55

66
group = 'net.democracycraft'
7-
version = '1.1.0'
7+
version = '1.2.0'
88

99
repositories {
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
6978
java {
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

7882
tasks.withType(JavaCompile).configureEach {

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.0-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

src/main/resources/plugin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: VaultStorage
2-
version: '1.0.15'
2+
version: '1.2.0'
33
main: net.democracycraft.vault.VaultStoragePlugin
44
api-version: '1.21'
55
authors: [ Alepando ]

0 commit comments

Comments
 (0)