From aeb667764b9e070094241165481e4cd42e14684a Mon Sep 17 00:00:00 2001 From: Jason Penilla <11360596+jpenilla@users.noreply.github.com> Date: Wed, 1 Dec 2021 01:48:52 -0800 Subject: [PATCH] Update to 1.18 --- build.gradle.kts | 8 ++++---- .../io/papermc/paperweight/testplugin/TestPlugin.java | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 29e6fd5..ac75663 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.2.0" - id("xyz.jpenilla.run-paper") version "1.0.4" // Adds runServer and runMojangMappedServer tasks for testing + id("io.papermc.paperweight.userdev") version "1.3.0" + id("xyz.jpenilla.run-paper") version "1.0.5" // Adds runServer and runMojangMappedServer tasks for testing id("net.minecrell.plugin-yml.bukkit") version "0.5.0" } @@ -16,7 +16,7 @@ java { } dependencies { - paperDevBundle("1.17.1-R0.1-SNAPSHOT") + paperDevBundle("1.18-R0.1-SNAPSHOT") } tasks { @@ -27,7 +27,7 @@ tasks { compileJava { options.encoding = Charsets.UTF_8.name() - options.release.set(16) + options.release.set(17) } javadoc { options.encoding = Charsets.UTF_8.name() diff --git a/src/main/java/io/papermc/paperweight/testplugin/TestPlugin.java b/src/main/java/io/papermc/paperweight/testplugin/TestPlugin.java index 5b93821..0ca023a 100644 --- a/src/main/java/io/papermc/paperweight/testplugin/TestPlugin.java +++ b/src/main/java/io/papermc/paperweight/testplugin/TestPlugin.java @@ -7,7 +7,7 @@ import net.minecraft.commands.arguments.EntityArgument; import net.minecraft.network.chat.ClickEvent; import net.minecraft.network.chat.TextComponent; import net.minecraft.server.level.ServerPlayer; -import org.bukkit.craftbukkit.v1_17_R1.CraftServer; +import org.bukkit.craftbukkit.v1_18_R1.CraftServer; import org.bukkit.event.Listener; import org.bukkit.plugin.java.JavaPlugin;