summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorLogan Fick <logaldeveloper@protonmail.com>2019-02-08 11:29:54 -0500
committerLogan Fick <logaldeveloper@protonmail.com>2019-02-08 11:29:54 -0500
commit2a094897a0226cc286b3be52342663b9ac0d8d86 (patch)
tree9c65a9d6d1a655d519eceaeda60d464a1c921b83 /build.gradle
parentbc4ec4561ed1200497a5edcd03738ec9c0a16072 (diff)
parent335a5b57d322a0a9e3b43729e240206af05c09bb (diff)
Merged pull request #8.v5.2.0
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle40
1 files changed, 40 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..bc4ba04
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,40 @@
+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"
+
+ compile group: 'org.apache.logging.log4j', name: 'log4j-1.2-api', version: '2.11.1'
+
+ compileOnly 'org.spigotmc:spigot-api:1.13.2-R0.1-SNAPSHOT'
+}
+
+jar {
+ manifest {
+ attributes "Class-Path": "../lib/CommandManager.jar ../lib/ChatAPI.jar ../lib/ChestAPI.jar"
+ }
+}
+
+task sourceJar(type: Jar, dependsOn: classes) {
+ classifier 'sources'
+ from sourceSets.main.allSource
+}