Skip to content

Commit

Permalink
feat: update spigradle to 2.0.0
Browse files Browse the repository at this point in the history
BREAKING CHANGE: The `@Plugin` annotation on the plugin main class for spigradle was renamed to `@PluginMain`

Closes #19
  • Loading branch information
Silthus committed Jul 6, 2020
1 parent c0c6296 commit df1f431
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Expand Up @@ -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'
}
Expand Down
4 changes: 2 additions & 2 deletions 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;
Expand All @@ -10,7 +10,7 @@

import java.io.File;

@Plugin
@PluginMain
public class TemplatePlugin extends JavaPlugin implements Listener {

public TemplatePlugin() {}
Expand Down

0 comments on commit df1f431

Please sign in to comment.