diff --git a/modules/lang-painless/build.gradle b/modules/lang-painless/build.gradle index 9383aacfeb3b6..240e509373e3a 100644 --- a/modules/lang-painless/build.gradle +++ b/modules/lang-painless/build.gradle @@ -26,6 +26,10 @@ testClusters.all { configurations { spi compileOnlyApi.extendsFrom(spi) + if (isEclipse) { + // Eclipse buildship doesn't know about compileOnlyApi + api.extendsFrom(spi) + } } dependencies {