plugins { id 'xyz.jpenilla.run-paper' version '2.3.0' } dependencies { implementation project(':bukkit') compileOnly project(':common') compileOnly 'io.papermc.paper:paper-api:1.19.4-R0.1-SNAPSHOT' compileOnly 'org.bstats:bstats-bukkit:3.0.2' compileOnly 'org.jetbrains:annotations:24.1.0' compileOnly 'net.william278:minedown:1.8.2' compileOnly 'net.william278:DesertWell:2.0.4' compileOnly 'com.github.MilkBowl:VaultAPI:1.7.1' compileOnly 'me.clip:placeholderapi:2.11.6' compileOnly 'org.projectlombok:lombok:1.18.32' annotationProcessor 'org.projectlombok:lombok:1.18.32' } shadowJar { dependencies { exclude(dependency('com.mojang:brigadier')) } relocate 'org.apache.commons.io', 'net.william278.huskhomes.libraries.commons.io' relocate 'org.apache.commons.text', 'net.william278.huskhomes.libraries.commons.text' relocate 'org.apache.commons.lang3', 'net.william278.huskhomes.libraries.commons.lang3' relocate 'de.themoep', 'net.william278.huskhomes.libraries' relocate 'org.jetbrains', 'net.william278.huskhomes.libraries' relocate 'org.intellij', 'net.william278.huskhomes.libraries' relocate 'com.zaxxer', 'net.william278.huskhomes.libraries' relocate 'net.william278.paginedown', 'net.william278.huskhomes.libraries.paginedown' relocate 'net.william278.desertwell', 'net.william278.huskhomes.libraries.desertwell' relocate 'de.exlll', 'net.william278.huskhomes.libraries' relocate 'org.json', 'net.william278.huskhomes.libraries.json' relocate 'org.yaml.snakeyaml', 'net.william278.huskhomes.libraries.snakeyaml' relocate 'com.google.gson', 'net.william278.huskhomes.libraries.gson' relocate 'org.bstats', 'net.william278.huskhomes.libraries.bstats' relocate 'io.papermc.lib', 'net.william278.huskhomes.libraries.paperlib' relocate 'space.arim.morepaperlib', 'net.william278.huskhomes.libraries.paperlib' minimize() } tasks { runServer { minecraftVersion('1.21') downloadPlugins { // url("https://download.luckperms.net/1526/bukkit/loader/LuckPerms-Bukkit-5.4.113.jar") // url("https://ci.lucko.me/job/spark/399/artifact/spark-bukkit/build/libs/spark-1.10.58-bukkit.jar") // hangar("Plan-Player-Analytics", "5.6+build.2614") // modrinth("dynmap", "5F9fwzR1") // modrinth("pl3xmap", "1.20.4-489") // modrinth("bluemap", "3.20-paper") } } }