diff options
author | ishland <ishlandmc@yeah.net> | 2022-09-19 21:48:28 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-19 14:48:28 +0100 |
commit | 7ef9b6281135ce0a24f3c14c2255d9a2c2eca969 (patch) | |
tree | 59196f2253eb9ab3448339a64d68a426b48ce25f /spark-fabric/build.gradle | |
parent | 618230b958d7822985e2702cd9528f1b4567e59c (diff) | |
download | spark-7ef9b6281135ce0a24f3c14c2255d9a2c2eca969.tar.gz spark-7ef9b6281135ce0a24f3c14c2255d9a2c2eca969.tar.bz2 spark-7ef9b6281135ce0a24f3c14c2255d9a2c2eca969.zip |
Display source info for mixin injected methods (#249)
Co-authored-by: Luck <git@lucko.me>
Diffstat (limited to 'spark-fabric/build.gradle')
-rw-r--r-- | spark-fabric/build.gradle | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/spark-fabric/build.gradle b/spark-fabric/build.gradle index 30b1ff6..fce859a 100644 --- a/spark-fabric/build.gradle +++ b/spark-fabric/build.gradle @@ -66,6 +66,10 @@ processResources { } } +license { + exclude '**/smap/SourceMap.java' +} + shadowJar { archiveFileName = "spark-fabric-${project.pluginVersion}-dev.jar" configurations = [project.configurations.shade] @@ -74,12 +78,16 @@ shadowJar { relocate 'net.kyori.examination', 'me.lucko.spark.lib.adventure.examination' relocate 'net.bytebuddy', 'me.lucko.spark.lib.bytebuddy' relocate 'com.google.protobuf', 'me.lucko.spark.lib.protobuf' - relocate 'org.objectweb.asm', 'me.lucko.spark.lib.asm' +// relocate 'org.objectweb.asm', 'me.lucko.spark.lib.asm' relocate 'one.profiler', 'me.lucko.spark.lib.asyncprofiler' exclude 'module-info.class' exclude 'META-INF/maven/**' exclude 'META-INF/proguard/**' + + dependencies { + exclude(dependency('org.ow2.asm::')) + } } task remappedShadowJar(type: RemapJarTask) { |