diff options
author | Luck <git@lucko.me> | 2020-04-25 21:03:34 +0100 |
---|---|---|
committer | Luck <git@lucko.me> | 2020-04-25 21:04:10 +0100 |
commit | 19fc34b5f43cf3baf6b32403a932940266ddcd69 (patch) | |
tree | 56850c1f03968b232edd7e0530eaf33513566e28 /spark-universal/build.gradle | |
parent | 20b34c16d796e5901381e3a5a6be42e5df3c03cf (diff) | |
download | spark-19fc34b5f43cf3baf6b32403a932940266ddcd69.tar.gz spark-19fc34b5f43cf3baf6b32403a932940266ddcd69.tar.bz2 spark-19fc34b5f43cf3baf6b32403a932940266ddcd69.zip |
Exclude module-info.class from shadowed jar file
Should fix issues with loading on old Forge versions.
Diffstat (limited to 'spark-universal/build.gradle')
-rw-r--r-- | spark-universal/build.gradle | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spark-universal/build.gradle b/spark-universal/build.gradle index 10c6e69..cd5278d 100644 --- a/spark-universal/build.gradle +++ b/spark-universal/build.gradle @@ -18,6 +18,10 @@ shadowJar { relocate 'org.tukaani.xz', 'me.lucko.spark.lib.xz' relocate 'com.google.protobuf', 'me.lucko.spark.lib.protobuf' relocate 'org.objectweb.asm', 'me.lucko.spark.lib.asm' + + exclude 'module-info.class' + exclude 'META-INF/maven/**' + exclude 'META-INF/proguard/**' } artifacts { |