From 368ba2fdcf38f256812d558ea81f62bd6f7a43cc Mon Sep 17 00:00:00 2001 From: Hannes Greule Date: Thu, 21 Nov 2024 10:15:32 +0100 Subject: Upgrade async-profiler to v3 (#386) --- build.gradle | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'build.gradle') 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 { -- cgit