diff options
author | David <david@panic.tk> | 2018-11-07 17:47:29 +0100 |
---|---|---|
committer | David <david@panic.tk> | 2018-11-07 17:47:29 +0100 |
commit | 41741bebc47ddcdc4ff62a2b2af0cf4c50480833 (patch) | |
tree | a70ba77e749a85ce5fe1040f093680feb842afb8 | |
parent | 4810dcf339a59f49305e184fc22abf839d41c310 (diff) |
gitignore + created gradle build file and moved manifest props into it
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | build.gradle | 33 | ||||
-rw-r--r-- | manifest.mf | 3 |
3 files changed, 35 insertions, 3 deletions
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
-
|