aboutsummaryrefslogtreecommitdiff
path: root/spark-universal
diff options
context:
space:
mode:
authorLuck <git@lucko.me>2018-06-06 15:39:16 +0100
committerLuck <git@lucko.me>2018-06-06 15:39:16 +0100
commit7d6808cbcfbb0f61f93e536d36968eeda5bd302c (patch)
tree3271db1ffa6e4d6c1fa5ea4ccc1335b1ac746f46 /spark-universal
parent38f0c12483e6eda79ca36dc829ef678a736d2cef (diff)
downloadspark-7d6808cbcfbb0f61f93e536d36968eeda5bd302c.tar.gz
spark-7d6808cbcfbb0f61f93e536d36968eeda5bd302c.tar.bz2
spark-7d6808cbcfbb0f61f93e536d36968eeda5bd302c.zip
Convert to Gradle
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