Skip to content

Commit 90e8428

Browse files
Adds spi dependency on client compileJava task
Signed-off-by: Darshit Chanpura <dchanp@amazon.com>
1 parent 7b8b28b commit 90e8428

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

client/build.gradle

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,12 @@ repositories {
3232
maven { url "https://aws.oss.sonatype.org/content/repositories/snapshots" }
3333
}
3434

35+
tasks.named("compileJava") {
36+
dependsOn(":opensearch-resource-sharing-spi:shadowJar")
37+
}
38+
3539
dependencies {
36-
compileOnly "org.opensearch:opensearch:${opensearch_version}"
40+
compileOnly group: 'org.opensearch', name: 'opensearch', version: "${opensearch_version}"
3741
compileOnly project(path: ":opensearch-resource-sharing-spi", configuration: "shadow")
3842
compileOnly project(":")
3943
}

0 commit comments

Comments
 (0)