This seems to generate dependencies in the POM file.

This commit is contained in:
Jason Mitchell authored and Jason Mitchell committed 2022-01-21 16:03:37 -08:00
1 parent f0abd33983
commit af6250a832
1 file changed
+5 -2
+5 -2
View File
@@ -1,4 +1,4 @@
//version: 1642484596
//version: 1642784244
/*
DO NOT CHANGE THIS FILE!
@@ -499,7 +499,10 @@ artifacts {
publishing {
publications {
maven(MavenPublication) {
artifact source: usesShadowedDependencies.toBoolean() ? shadowJar : jar, classifier: ""
from components.java
if(usesShadowedDependencies.toBoolean()) {
artifact source: shadowJar, classifier: ""
}
if(!noPublishedSources) {
artifact source: sourcesJar, classifier: "src"
}