@@ -254,7 +254,7 @@ dependencies {
254
254
zipArchive group : ' org.opensearch.plugin' , name :' opensearch-knn' , version : " ${ opensearch_build} "
255
255
zipArchive group : ' org.opensearch.plugin' , name :' opensearch-ml-plugin' , version : " ${ opensearch_build} "
256
256
secureIntegTestPluginArchive group : ' org.opensearch.plugin' , name :' opensearch-security' , version : " ${ opensearch_build} "
257
- compileOnly fileTree(dir : knnJarDirectory, include : " opensearch-knn-${ opensearch_build} .jar" )
257
+ compileOnly fileTree(dir : knnJarDirectory, include : [ " opensearch-knn-${ opensearch_build} .jar" , " remote-index-build-client- ${ opensearch_build } .jar " ] )
258
258
compileOnly group : ' com.google.guava' , name : ' guava' , version :' 32.1.3-jre'
259
259
compileOnly group : ' commons-lang' , name : ' commons-lang' , version : ' 2.6'
260
260
api group : ' org.opensearch' , name :' opensearch-ml-client' , version : " ${ opensearch_build} "
@@ -282,7 +282,8 @@ dependencies {
282
282
testFixturesImplementation " org.opensearch:common-utils:${ version} "
283
283
testFixturesImplementation group : ' org.apache.commons' , name : ' commons-lang3' , version : ' 3.14.0'
284
284
testFixturesCompileOnly group : ' com.google.guava' , name : ' guava' , version :' 32.1.3-jre'
285
- testFixturesCompileOnly fileTree(dir : knnJarDirectory, include : " opensearch-knn-${ opensearch_build} .jar" )
285
+ testFixturesImplementation fileTree(dir : knnJarDirectory, include : [" opensearch-knn-${ opensearch_build} .jar" , " remote-index-build-client-${ opensearch_build} .jar" ])
286
+ testImplementation fileTree(dir : knnJarDirectory, include : [" opensearch-knn-${ opensearch_build} .jar" , " remote-index-build-client-${ opensearch_build} .jar" ])
286
287
}
287
288
288
289
// In order to add the jar to the classpath, we need to unzip the
0 commit comments