From 1370fb66b0c340cd25bf8e5a77806fe6b7b9013f Mon Sep 17 00:00:00 2001 From: reya Date: Tue, 9 Apr 2019 14:28:08 -0400 Subject: [PATCH] Move plugin.yml to build.gradle --- build.gradle | 16 +++++++++++++++- src/main/resources/plugin.yml | 3 --- 2 files changed, 15 insertions(+), 4 deletions(-) delete mode 100644 src/main/resources/plugin.yml diff --git a/build.gradle b/build.gradle index 4cf37f7..28bbb32 100644 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,8 @@ plugins { } group 'net.deliciousreya' -version '1.0-SNAPSHOT' +description 'A Minecraft plugin to allow players to create portals they can teleport between.' +version '0.1' sourceCompatibility = 1.8 @@ -17,11 +18,24 @@ repositories { } dependencies { + compileOnly bukkit() compile group: 'com.destroystokyo.paper', name: 'paper-api', version: '1.13.2-R0.1-SNAPSHOT' implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8" testCompile group: 'junit', name: 'junit', version: '4.12' } +bukkit { + version = "1.13.2" + + // Attributes for plugin.yml + meta { + name = "PortalGenerator" + description = "A Minecraft plugin to allow players to create portals they can teleport between." + main = "net.deliciousreya.minecraftportal.MinecraftPortalPlugin" + version = "0.1" + } +} + compileKotlin { kotlinOptions.jvmTarget = "1.8" } diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml deleted file mode 100644 index 36b8aeb..0000000 --- a/src/main/resources/plugin.yml +++ /dev/null @@ -1,3 +0,0 @@ -name: PortalGenerator -main: net.deliciousreya.minecraftportal.MinecraftPortalPlugin -version: '0.1' \ No newline at end of file