@@ -9,12 +9,12 @@ plugins {
99 id(" java-library" )
1010 id(" olf.build-logic" )
1111
12- id( " com.diffplug .spotless" ) version " 6.18.0 "
13- id( " com.modrinth .minotaur" ) version " 2.+ "
14- id( " io.github.goooler. shadow" ) version " 8.1.7 "
15- id( " io.papermc .hangar- publish- plugin" ) version " 0.1.2 "
16- id( " net.minecrell .plugin- yml.bukkit" ) version " 0.5.3 "
17- id( " xyz.jpenilla .run- paper" ) version " 2.1.0 "
12+ alias(libs.plugins .spotless)
13+ alias(libs.plugins .minotaur)
14+ alias(libs.plugins. shadow)
15+ alias(libs.plugins .hangar. publish. plugin)
16+ alias(libs.plugins .plugin. yml.bukkit)
17+ alias(libs.plugins .run. paper)
1818}
1919
2020if (! File (" $rootDir /.git" ).exists()) {
@@ -51,22 +51,22 @@ repositories {
5151
5252dependencies {
5353 // Paper / Spigot
54- compileOnly(" io.papermc. paper:paper-api: $minecraftVersion -R0.1-SNAPSHOT " )
54+ compileOnly(libs. paper)
5555 // Fawe / WorldEdit
56- implementation(platform(" com.intellectualsites .bom:bom-newest:1.27 " ))
57- compileOnlyApi(" com.fastasyncworldedit:FastAsyncWorldEdit-Bukkit " )
56+ implementation(platform(libs.fawe .bom))
57+ compileOnlyApi(libs.fawe.bukkit )
5858 // Utils
59- implementation(" dev.notmyfault. serverlib:ServerLib " )
60- implementation(" io.papermc: paperlib" )
59+ implementation(libs. serverlib)
60+ implementation(libs. paperlib)
6161 // Material Utils
62- implementation(" com.github.cryptomorin:XSeries:9.4.0 " ) { isTransitive = false }
62+ implementation(libs.xseries ) { isTransitive = false }
6363 // Stats
64- implementation(" org .bstats:bstats-bukkit:3.0.2 " )
64+ implementation(libs .bstats)
6565 // Commands
66- implementation(" org.incendo: cloud-annotations:2.0.0-rc.2 " )
67- implementation(" org.incendo: cloud- minecraft-extras:2.0.0-beta.8 " )
68- implementation(" org.incendo: cloud-paper:2.0.0-beta.8 " )
69- annotationProcessor(" org.incendo: cloud-annotations:2.0.0-rc.2 " )
66+ implementation(libs. cloud.annotations )
67+ implementation(libs. cloud. minecraft.extras )
68+ implementation(libs. cloud.paper )
69+ annotationProcessor(libs. cloud.annotations )
7070}
7171
7272bukkit {
0 commit comments