Skip to content
Snippets Groups Projects
Commit 2b936e89 authored by dgelessus's avatar dgelessus
Browse files

Try to fix the publishing shadowJar exclusion

The previous solution failed on upload with a PublishException:
Cannot publish module metadata because an artifact from the 'java'
component has been removed.
parent 730fc0d8
Branches
Tags
No related merge requests found
Pipeline #135000 failed
...@@ -78,7 +78,7 @@ publishing { ...@@ -78,7 +78,7 @@ publishing {
mavenJava(MavenPublication) { mavenJava(MavenPublication) {
from components.java from components.java
// Don't publish the shadowJar to Maven Central // Don't publish the shadowJar to Maven Central
artifacts.removeIf {it.classifier == "all"} artifacts = artifacts.findAll {it.classifier != "all"}
pom { pom {
name = 'TLA+ to B-AST' name = 'TLA+ to B-AST'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment