From c7dea05d3088b59bfce0237dd8b58f0023b8c538 Mon Sep 17 00:00:00 2001 From: Jason Penilla <11360596+jpenilla@users.noreply.github.com> Date: Tue, 13 Dec 2022 11:18:29 -0700 Subject: [PATCH] Update gradle plugins and dev bundle --- build.gradle.kts | 10 +++++----- .../io/papermc/paperweight/testplugin/TestPlugin.java | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index f7088c5..bc03119 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -2,8 +2,8 @@ import net.minecrell.pluginyml.bukkit.BukkitPluginDescription plugins { `java-library` - id("io.papermc.paperweight.userdev") version "1.3.11" - id("xyz.jpenilla.run-paper") version "2.0.0" // Adds runServer and runMojangMappedServer tasks for testing + id("io.papermc.paperweight.userdev") version "1.4.0" + id("xyz.jpenilla.run-paper") version "2.0.1" // Adds runServer and runMojangMappedServer tasks for testing id("net.minecrell.plugin-yml.bukkit") version "0.5.2" // Generates plugin.yml } @@ -17,12 +17,12 @@ java { } dependencies { - paperDevBundle("1.19.2-R0.1-SNAPSHOT") - // paperweightDevBundle("com.example.paperfork", "1.19.2-R0.1-SNAPSHOT") + paperDevBundle("1.19.3-R0.1-SNAPSHOT") + // paperweightDevBundle("com.example.paperfork", "1.19.3-R0.1-SNAPSHOT") // You will need to manually specify the full dependency if using the groovy gradle dsl // (paperDevBundle and paperweightDevBundle functions do not work in groovy) - // paperweightDevelopmentBundle("io.papermc.paper:dev-bundle:1.19.2-R0.1-SNAPSHOT") + // paperweightDevelopmentBundle("io.papermc.paper:dev-bundle:1.19.3-R0.1-SNAPSHOT") } tasks { diff --git a/src/main/java/io/papermc/paperweight/testplugin/TestPlugin.java b/src/main/java/io/papermc/paperweight/testplugin/TestPlugin.java index a65fbb1..bf96a69 100644 --- a/src/main/java/io/papermc/paperweight/testplugin/TestPlugin.java +++ b/src/main/java/io/papermc/paperweight/testplugin/TestPlugin.java @@ -13,7 +13,7 @@ import net.minecraft.commands.arguments.EntityArgument; import net.minecraft.network.chat.ClickEvent; import net.minecraft.network.chat.Component; import net.minecraft.server.level.ServerPlayer; -import org.bukkit.craftbukkit.v1_19_R1.CraftServer; +import org.bukkit.craftbukkit.v1_19_R2.CraftServer; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.plugin.java.JavaPlugin;