aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorHannes Greule <SirYwell@users.noreply.github.com>2024-11-21 10:15:32 +0100
committerGitHub <noreply@github.com>2024-11-21 09:15:32 +0000
commit368ba2fdcf38f256812d558ea81f62bd6f7a43cc (patch)
tree09ec0342135744c8b750354680d0df112bab2f94 /build.gradle
parentddb0097142a0ef2635f53695b0b92fda855adb4a (diff)
downloadspark-368ba2fdcf38f256812d558ea81f62bd6f7a43cc.tar.gz
spark-368ba2fdcf38f256812d558ea81f62bd6f7a43cc.tar.bz2
spark-368ba2fdcf38f256812d558ea81f62bd6f7a43cc.zip
Upgrade async-profiler to v3 (#386)
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle15
1 files changed, 15 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
index 5d15ff2..cc6d1d2 100644
--- a/build.gradle
+++ b/build.gradle
@@ -21,6 +21,21 @@ subprojects {
patchVersion = determinePatchVersion()
pluginVersion = baseVersion + '.' + patchVersion
pluginDescription = 'spark is a performance profiling plugin/mod for Minecraft clients, servers and proxies.'
+
+ applyExcludes = { Jar jarTask ->
+ jarTask.exclude 'module-info.class'
+ jarTask.exclude 'META-INF/maven/**'
+ jarTask.exclude 'META-INF/proguard/**'
+ jarTask.exclude 'META-INF/LICENSE'
+ jarTask.exclude 'META-INF/NOTICE'
+ // protobuf
+ jarTask.exclude '**/*.proto'
+ jarTask.exclude '**/*.proto.bin'
+ // async-profiler
+ jarTask.exclude 'linux-arm64/**'
+ jarTask.exclude 'linux-x64/**'
+ jarTask.exclude 'macos/**'
+ }
}
tasks.withType(JavaCompile).configureEach {