From 41741bebc47ddcdc4ff62a2b2af0cf4c50480833 Mon Sep 17 00:00:00 2001 From: David Date: Wed, 7 Nov 2018 17:47:29 +0100 Subject: gitignore + created gradle build file and moved manifest props into it --- .gitignore | 2 ++ build.gradle | 33 +++++++++++++++++++++++++++++++++ manifest.mf | 3 --- 3 files changed, 35 insertions(+), 3 deletions(-) create mode 100644 .gitignore create mode 100644 build.gradle delete mode 100644 manifest.mf diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f06dfad --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.gradle +build \ No newline at end of file diff --git a/build.gradle b/build.gradle new file mode 100644 index 0000000..08dc139 --- /dev/null +++ b/build.gradle @@ -0,0 +1,33 @@ +buildscript { + repositories { + jcenter() + } + dependencies { + classpath "com.github.jengelman.gradle.plugins:shadow:4.0.2" + } +} + +apply plugin: "com.github.johnrengelman.shadow" +apply plugin: "java" + +repositories { + jcenter() + maven { url "https://jitpack.io" } + + maven { url "https://hub.spigotmc.org/nexus/content/repositories/snapshots/" } + maven { url "https://oss.sonatype.org/content/repositories/snapshots" } +} + +dependencies { + implementation "com.github.RedstonerServer:CommandManager:master-SNAPSHOT" + implementation "com.github.RedstonerServer:ChatAPI:master-SNAPSHOT" + implementation "com.github.RedstonerServer:ChestAPI:master-SNAPSHOT" + + compileOnly 'org.spigotmc:spigot-api:1.13.1-R0.1-SNAPSHOT' +} + +jar { + manifest { + attributes "Class-Path": "../lib/CommandManager.jar ../lib/ChatAPI.jar ../lib/ChestAPI.jar" + } +} \ No newline at end of file diff --git a/manifest.mf b/manifest.mf deleted file mode 100644 index c8b23f2..0000000 --- a/manifest.mf +++ /dev/null @@ -1,3 +0,0 @@ -Manifest-Version: 1.0 -Class-Path: ../lib/CommandManager.jar ../lib/ChatAPI.jar ../lib/ChestAPI.jar - -- cgit v1.2.3