Skip to content

Commit 162463a

Browse files
Disables SPI jar to allow assemble task to succeed
Signed-off-by: Darshit Chanpura <dchanp@amazon.com>
1 parent 7b8b28b commit 162463a

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

client/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ repositories {
3333
}
3434

3535
dependencies {
36-
compileOnly "org.opensearch:opensearch:${opensearch_version}"
37-
compileOnly project(path: ":opensearch-resource-sharing-spi", configuration: "shadow")
36+
compileOnly group: 'org.opensearch', name: 'opensearch', version: "${opensearch_version}"
37+
compileOnly group: 'org.opensearch', name: 'opensearch-resource-sharing-spi', version: "${opensearch_build}"
3838
compileOnly project(":")
3939
}
4040

spi/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ task javadocJar(type: Jar) {
4242
from tasks.javadoc
4343
}
4444

45+
jar {
46+
enabled = false
47+
}
48+
4549
publishing {
4650
publications {
4751
shadow(MavenPublication) { publication ->

0 commit comments

Comments
 (0)