Skip to content

Commit a2f1913

Browse files
authored
Shadowjar publication only (#962)
Signed-off-by: Sicheng Song <sicheng.song@outlook.com>
1 parent dd54ea5 commit a2f1913

File tree

1 file changed

+0
-31
lines changed

1 file changed

+0
-31
lines changed

client/build.gradle

-31
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,6 @@ jacocoTestCoverageVerification {
4747
}
4848
check.dependsOn jacocoTestCoverageVerification
4949

50-
tasks.named("jar").configure { dependsOn("publishShadowPublicationToMavenLocal") }
51-
tasks.named("jar").configure { dependsOn("publishShadowPublicationToStagingRepository") }
52-
5350
shadowJar {
5451
archiveClassifier.set(null)
5552
}
@@ -110,34 +107,6 @@ publishing {
110107
}
111108
}
112109
}
113-
jars(MavenPublication) { publication ->
114-
from components.java
115-
116-
pom {
117-
name = "OpenSearch Machine Learning Client"
118-
packaging = "jar"
119-
url = "https://github.com/opensearch-project/ml-commons"
120-
description = "OpenSearch Machine Learning Client"
121-
scm {
122-
connection = "scm:git@github.com:opensearch-project/ml-commons.git"
123-
developerConnection = "scm:git@github.com:opensearch-project/ml-commons.git"
124-
url = "git@github.com:opensearch-project/ml-commons.git"
125-
}
126-
licenses {
127-
license {
128-
name = "The Apache License, Version 2.0"
129-
url = "http://www.apache.org/licenses/LICENSE-2.0.txt"
130-
}
131-
}
132-
developers {
133-
developer {
134-
name = "OpenSearch"
135-
url = "https://github.com/opensearch-project/ml-commons"
136-
}
137-
}
138-
}
139-
}
140-
141110
}
142111

143112
}

0 commit comments

Comments
 (0)