diff --git a/build.gradle b/build.gradle index 30d3246..75a9f72 100644 --- a/build.gradle +++ b/build.gradle @@ -1,24 +1,11 @@ -apply plugin: 'java' -apply plugin: 'eclipse' - -targetCompatibility = "1.8" -sourceCompatibility = "1.8" -version = '2.7' -jar { - manifest { - attributes 'Implementation-Title': 'Nations', - 'Implementation-Version': version - } +plugins { + id 'org.spongepowered.plugin' version '0.8.1' } -repositories { - mavenCentral() - maven { - name = 'sponge' - url = 'http://repo.spongepowered.org/maven' - } -} +group = 'com.carrot' +version = '2.7-S5.1-MC1.10.2' +description = 'A towny-like worldguard-like zone managment plugin' dependencies { - compile 'org.spongepowered:spongeapi:5.1.0' -} + compile 'org.spongepowered:spongeapi:5.1.0' +} \ No newline at end of file diff --git a/src/main/java/com/arckenver/nations/NationsPlugin.java b/src/main/java/com/arckenver/nations/NationsPlugin.java index 2b627e9..55e16c8 100644 --- a/src/main/java/com/arckenver/nations/NationsPlugin.java +++ b/src/main/java/com/arckenver/nations/NationsPlugin.java @@ -34,7 +34,7 @@ import com.arckenver.nations.task.TaxesCollectRunnable; import com.google.inject.Inject; -@Plugin(id = "nations", name = "Nations", version = "2.7", authors={"Arckenver", "Carrot"}, description = "A towny-like worldguard-like zone managment plugin.", url="https://github.com/Arckenver/Nations") +@Plugin(id = "nations", name = "Nations", authors={"Arckenver", "Carrot"}, url="https://github.com/Arckenver/Nations") public class NationsPlugin { private File rootDir;