From 730fc0d82b770e872ad1198ee5202d2710f62db8 Mon Sep 17 00:00:00 2001
From: dgelessus <dgelessus@users.noreply.github.com>
Date: Thu, 2 May 2024 16:29:22 +0200
Subject: [PATCH] Try to exclude the shadowJar from Maven Central publication

---
 build.gradle | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/build.gradle b/build.gradle
index 4a68ec1..48a1264 100644
--- a/build.gradle
+++ b/build.gradle
@@ -77,6 +77,8 @@ publishing {
 	publications {
 		mavenJava(MavenPublication) {
 			from components.java
+			// Don't publish the shadowJar to Maven Central
+			artifacts.removeIf {it.classifier == "all"}
 
 			pom {
 				name = 'TLA+ to B-AST'
-- 
GitLab