elasticsearch源码导入idea编译报错

在根目录运行gradle idea 报错
FAILURE: Build failed with an exception.

  • Where:
    Build file 'D:\git_repository\elasticsearch\build.gradle' line: 315

  • What went wrong:
    Could not get unknown property 'projectSubstitutions' for DefaultExternalModuleDependency{group='junit', name='junit', version='4.12', configuration='default'} of type org.gradle.api.internal.artifacts.dependencie
    s.DefaultExternalModuleDependency.

build.gradle315行:
String substitution = projectSubstitutions.get("${dep.group}:${dep.name}:${dep.version}")

1个回答

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!