aboutsummaryrefslogtreecommitdiff
path: root/spark-universal
diff options
context:
space:
mode:
Diffstat (limited to 'spark-universal')
-rw-r--r--spark-universal/build.gradle29
1 files changed, 29 insertions, 0 deletions
diff --git a/spark-universal/build.gradle b/spark-universal/build.gradle
new file mode 100644
index 0000000..d0583ac
--- /dev/null
+++ b/spark-universal/build.gradle
@@ -0,0 +1,29 @@
+buildscript {
+ repositories {
+ jcenter()
+ }
+ dependencies {
+ classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.4'
+ }
+}
+
+apply plugin: 'com.github.johnrengelman.shadow'
+
+dependencies {
+ compile project(':spark-common')
+ compile project(':spark-bukkit')
+ compile project(':spark-bungeecord')
+ compile project(':spark-sponge')
+}
+
+shadowJar {
+ archiveName = 'spark.jar'
+
+ relocate 'okio', 'me.lucko.spark.lib.okio'
+ relocate 'okhttp3', 'me.lucko.spark.lib.okhttp3'
+}
+
+artifacts {
+ archives shadowJar
+ shadow shadowJar
+} \ No newline at end of file