You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/docs/publishing/README.md
+39Lines changed: 39 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -90,3 +90,42 @@ publishing {
90
90
}
91
91
}
92
92
```
93
+
94
+
95
+
## Publish Custom ShadowJar Task Outputs
96
+
97
+
It is possible to publish a custom `ShadowJar` task's output via the [`MavenPublication.artifact(java.lang.Object)`](https://docs.gradle.org/current/dsl/org.gradle.api.publish.maven.MavenPublication.html#org.gradle.api.publish.maven.MavenPublication:artifact(java.lang.Object)) method.
98
+
99
+
```groovy
100
+
// Publishing a Shadow JAR with the Maven-Publish Plugin
0 commit comments