FAILURE: Build failed with an exception.
* Where:
Build file '/Users/struy/project/github/elasticsearch-repository-cos/build.gradle' line: 2
* What went wrong:
Could not compile build file '/Users/struy/project/github/elasticsearch-repository-cos/build.gradle'.
> startup failed:
build file '/Users/struy/project/github/elasticsearch-repository-cos/build.gradle': 2: unable to resolve class org.elasticsearch.gradle.testclusters.TestClustersRegistry
@ line 2, column 1.
import org.elasticsearch.gradle.testclusters.TestClustersRegistry
^
1 error
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1s
现在内部使用7.2.0的elasticsearch,可以直接使用master的代码或者7.5分支的代码编译插件吗? README.md 里提到:
所以不解7.x之后的版本支持和兼容情况是如何的?支持的es版本列表是分支列表中的版本吗?
尝试改动过
gradle.properties
里的esVersion=7.2.0
,但执行构建报错如下: