Skip to content

Commit 1b8b4ea

Browse files
Reorg items to be grouped together
1 parent 3262761 commit 1b8b4ea

File tree

1 file changed

+12
-16
lines changed

1 file changed

+12
-16
lines changed

build.gradle.kts

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -199,16 +199,12 @@ dependencies {
199199
testImplementation("io.papermc.paper:paper-api:$paperVersion")
200200
testImplementation("com.github.MilkBowl:VaultAPI:$vaultVersion")
201201
testImplementation("me.clip:placeholderapi:$placeholderapiVersion")
202+
testImplementation("commons-lang:commons-lang:$commonsLangVersion")
202203

203-
// --- Provided/Compile-Only Dependencies: Available at compile time but provided by server ---
204-
// These are NOT shaded into the final JAR (the server provides them at runtime)
205-
//compileOnly("io.papermc.paper:paper-api:$paperVersion") // Bukkit/Spigot/Paper API
206-
paperweight.paperDevBundle(paperVersion)
207-
204+
// --- Compile Only Dependencies: Provided by the server at runtime ---
208205
compileOnly("org.spigotmc:spigot:$spigotVersion") {
209206
exclude(group = "org.spigotmc", module = "spigot-api")
210207
}
211-
212208
compileOnly("org.mongodb:mongodb-driver:$mongodbVersion")
213209
compileOnly("com.zaxxer:HikariCP:$hikaricpVersion")
214210
compileOnly("com.github.MilkBowl:VaultAPI:$vaultVersion")
@@ -228,17 +224,7 @@ dependencies {
228224
compileOnly("lol.pyr:znpcsplus-api:$znpcsplusApiVersion")
229225
compileOnly("de.oliver:FancyHolograms:$fancyHologramsVersion")
230226
compileOnly("world.bentobox:level:$levelVersion-SNAPSHOT")
231-
232227
compileOnly("commons-lang:commons-lang:$commonsLangVersion")
233-
testImplementation("commons-lang:commons-lang:$commonsLangVersion")
234-
235-
// --- Implementation Dependencies: Shaded into final JAR ---
236-
implementation("org.bstats:bstats-bukkit:$bstatsVersion")
237-
implementation("javax.xml.bind:jaxb-api:$jaxbApiVersion")
238-
implementation("com.github.Marcono1234:gson-record-type-adapter-factory:$gsonRecordTypeAdapterFactoryVersion")
239-
implementation("org.eclipse.jdt:org.eclipse.jdt.annotation:$jdtAnnotationVersion")
240-
implementation("com.github.puregero:multilib:$multilibVersion")
241-
242228
compileOnly("io.th0rgal:oraxen:$oraxenVersion") {
243229
exclude(group = "me.gabytm.util", module = "actions-spigot")
244230
exclude(group = "org.jetbrains", module = "annotations")
@@ -252,6 +238,16 @@ dependencies {
252238
exclude(group = "com.jeff-media", module = "MorePersistentDataTypes")
253239
exclude(group = "gs.mclo", module = "java")
254240
}
241+
242+
// --- Implementation Dependencies: Shaded into final JAR ---
243+
implementation("org.bstats:bstats-bukkit:$bstatsVersion")
244+
implementation("javax.xml.bind:jaxb-api:$jaxbApiVersion")
245+
implementation("com.github.Marcono1234:gson-record-type-adapter-factory:$gsonRecordTypeAdapterFactoryVersion")
246+
implementation("org.eclipse.jdt:org.eclipse.jdt.annotation:$jdtAnnotationVersion")
247+
implementation("com.github.puregero:multilib:$multilibVersion")
248+
249+
// --- Paperweight Development Bundle (Provided by plugin development tools) ---
250+
paperweight.paperDevBundle(paperVersion)
255251
}
256252

257253
paperweight {

0 commit comments

Comments
 (0)