File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -47,9 +47,6 @@ jacocoTestCoverageVerification {
4747}
4848check. dependsOn jacocoTestCoverageVerification
4949
50- tasks. named(" jar" ). configure { dependsOn(" publishShadowPublicationToMavenLocal" ) }
51- tasks. named(" jar" ). configure { dependsOn(" publishShadowPublicationToStagingRepository" ) }
52-
5350shadowJar {
5451 archiveClassifier. set(null )
5552}
@@ -112,6 +109,8 @@ publishing {
112109 }
113110 jars(MavenPublication ) { publication ->
114111 from components. java
112+ artifact sourcesJar
113+ artifact javadocJar
115114
116115 pom {
117116 name = " OpenSearch Machine Learning Client"
Original file line number Diff line number Diff line change @@ -14,3 +14,4 @@ project(":plugin").name = rootProject.name + "-plugin"
1414include ' ml-algorithms'
1515project(" :ml-algorithms" ). name = rootProject. name + " -algorithms"
1616
17+ startParameter. excludedTaskNames= [" publishShadowPublicationToStagingRepository" , " publishShadowPublicationToMavenLocal" ]
You can’t perform that action at this time.
0 commit comments