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-forge | |
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-forge')
-rw-r--r-- | spark-forge/build.gradle | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spark-forge/build.gradle b/spark-forge/build.gradle index 0a3fa8f..c47408b 100644 --- a/spark-forge/build.gradle +++ b/spark-forge/build.gradle @@ -51,6 +51,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 { |