diff --git a/buildSrc/src/main/groovy/org/elasticsearch/gradle/test/RestIntegTestTask.groovy b/buildSrc/src/main/groovy/org/elasticsearch/gradle/test/RestIntegTestTask.groovy index 6dfb7cba666..ca531aee8d1 100644 --- a/buildSrc/src/main/groovy/org/elasticsearch/gradle/test/RestIntegTestTask.groovy +++ b/buildSrc/src/main/groovy/org/elasticsearch/gradle/test/RestIntegTestTask.groovy @@ -234,7 +234,7 @@ class RestIntegTestTask extends DefaultTask { } project.dependencies { restSpec ClasspathUtils.isElasticsearchProject() ? project.project(':rest-api-spec') : - "org.elasticsearch.rest-api-spec:${VersionProperties.elasticsearch}" + "org.elasticsearch:rest-api-spec:${VersionProperties.elasticsearch}" } Task copyRestSpec = project.tasks.findByName('copyRestSpec') if (copyRestSpec != null) {