Skip to content

Commit 46f6666

Browse files
committed
feat!: Updated to MiniPlaceholders 3
1 parent 55e17ce commit 46f6666

File tree

22 files changed

+79
-422
lines changed

22 files changed

+79
-422
lines changed

build.gradle.kts

Lines changed: 9 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,20 @@
11
plugins {
22
java
3-
alias(libs.plugins.shadow)
43
}
54

65
dependencies {
7-
implementation(projects.luckpermsExpansionPaper)
8-
implementation(projects.luckpermsExpansionVelocity)
9-
implementation(projects.luckpermsExpansionSponge)
6+
compileOnly(libs.miniplaceholders)
7+
compileOnly(libs.adventure.api)
8+
compileOnly(libs.adventure.minimessage)
9+
compileOnly(libs.adventure.legacy)
10+
compileOnly(libs.luckperms)
1011
}
1112

12-
subprojects {
13-
apply<JavaPlugin>()
14-
15-
java.toolchain.languageVersion.set(JavaLanguageVersion.of(17))
16-
17-
tasks {
18-
compileJava {
19-
options.encoding = Charsets.UTF_8.name()
20-
options.release.set(17)
21-
}
22-
}
23-
}
13+
java.toolchain.languageVersion.set(JavaLanguageVersion.of(21))
2414

2515
tasks {
26-
shadowJar {
27-
archiveFileName.set("MiniPlaceholders-LuckPerms-Expansion-${project.version}.jar")
28-
archiveClassifier.set("")
29-
doLast {
30-
copy {
31-
from(archiveFile)
32-
into("${rootProject.projectDir}/build")
33-
}
34-
}
35-
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
36-
}
37-
build {
38-
dependsOn(shadowJar)
16+
compileJava {
17+
options.encoding = Charsets.UTF_8.name()
18+
options.release.set(21)
3919
}
4020
}

common/build.gradle.kts

Lines changed: 0 additions & 7 deletions
This file was deleted.

fabric/build.gradle.kts

Lines changed: 0 additions & 44 deletions
This file was deleted.

fabric/src/main/java/io/github/miniplaceholders/expansion/luckperms/fabric/FabricMod.java

Lines changed: 0 additions & 28 deletions
This file was deleted.

fabric/src/main/resources/fabric.mod.json

Lines changed: 0 additions & 29 deletions
This file was deleted.

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
group = io.github.miniplaceholders
2-
version = 1.4.1
2+
version = 2.0.0
33
description = LuckPerms-Expansion
4-
org.gradle.jvmargs=-Xmx2G
4+
org.gradle.configuration-cache=true

gradle/libs.versions.toml

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,44 +2,28 @@ metadata.format.version = "1.1"
22

33
[versions]
44

5-
velocity = "3.2.0-SNAPSHOT"
6-
paper = "1.20.2-R0.1-SNAPSHOT"
5+
velocity = "3.4.0-SNAPSHOT"
6+
paper = "1.21.8-R0.1-SNAPSHOT"
77

88
blossom = "2.1.0"
9-
shadow = "8.1.1"
109
runtask = "2.2.0"
11-
pluginyml = "0.6.0"
1210

13-
miniplaceholders = "2.2.3"
11+
miniplaceholders = "3.0.0-SNAPSHOT"
1412
luckperms = "5.4"
1513
adventure = "4.15.0"
1614

17-
fabric-loader = "0.15.0"
18-
fabric-api = "0.90.1+1.20.3"
19-
minecraft = "1.20.1"
20-
adventurefabric = "5.10.1"
21-
2215
[libraries]
2316

24-
velocity-api = { group = "com.velocitypowered", name = "velocity-api", version.ref = "velocity" }
25-
paper-api = { group = "io.papermc.paper", name = "paper-api", version.ref = "paper" }
2617
miniplaceholders = { group = "io.github.miniplaceholders", name = "miniplaceholders-api", version.ref = "miniplaceholders" }
2718
luckperms = { module = "net.luckperms:api", version.ref = "luckperms" }
2819

2920
adventure-api = { group = "net.kyori", name = "adventure-api", version.ref = "adventure" }
3021
adventure-minimessage = { group = "net.kyori", name = "adventure-text-minimessage", version.ref = "adventure" }
3122
adventure-legacy = { group = "net.kyori", name = "adventure-text-serializer-legacy", version.ref = "adventure" }
3223

33-
fabric-loader = { group = "net.fabricmc", name = "fabric-loader", version.ref = "fabric-loader" }
34-
fabric-api = { group = "net.fabricmc.fabric-api", name = "fabric-api", version.ref = "fabric-api" }
35-
minecraft = { group = "com.mojang", name = "minecraft", version.ref = "minecraft" }
36-
adventure-platform-fabric = { group = "net.kyori", name = "adventure-platform-fabric", version.ref = "adventurefabric" }
37-
3824
[plugins]
3925

4026
blossom = { id = "net.kyori.blossom", version.ref = "blossom" }
41-
shadow = { id = "com.github.johnrengelman.shadow", version.ref = "shadow" }
4227
runvelocity = { id = "xyz.jpenilla.run-velocity", version.ref = "runtask" }
4328
runpaper = { id = "xyz.jpenilla.run-velocity", version.ref = "runtask" }
44-
pluginyml = { id = "net.minecrell.plugin-yml.bukkit", version.ref = "pluginyml" }
4529
idea-ext = { id = "org.jetbrains.gradle.plugin.idea-ext", version = "1.1.7" }

gradle/wrapper/gradle-wrapper.jar

-17.8 KB
Binary file not shown.

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.4-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.0.0-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 8 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)