diff --git a/build.gradle b/build.gradle index 48f14ec..6d0fea6 100644 --- a/build.gradle +++ b/build.gradle @@ -7,7 +7,7 @@ buildscript { plugins { id 'com.github.johnrengelman.shadow' version '6.0.0' - id 'kr.entree.spigradle' version '1.4.1' + id 'kr.entree.spigradle' version '2.0.0' id 'java' id 'jacoco' } diff --git a/src/main/java/net/silthus/template/TemplatePlugin.java b/src/main/java/net/silthus/template/TemplatePlugin.java index 1665534..7dbab7c 100644 --- a/src/main/java/net/silthus/template/TemplatePlugin.java +++ b/src/main/java/net/silthus/template/TemplatePlugin.java @@ -1,6 +1,6 @@ package net.silthus.template; -import kr.entree.spigradle.Plugin; +import kr.entree.spigradle.annotations.PluginMain; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.player.PlayerJoinEvent; @@ -10,7 +10,7 @@ import java.io.File; -@Plugin +@PluginMain public class TemplatePlugin extends JavaPlugin implements Listener { public TemplatePlugin() {}