Skip to content

Commit 0916360

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

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

client/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ repositories {
3333
}
3434

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

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)