Google-Java-Format依赖性同步,但没有构建



我在rootproject build build脚本中添加了mavencentral()。但是它在构建时给出以下错误。对此的任何想法。

在 您的根项目的" build.gradle"。

例如:'buildScript {repositories {mavencentral()}}}'

注意包括buildscripts(使用'apply 来自')不要与基础的构建存储库共享 项目。

您必须在 root项目的构建标记。

您是否将jcenter()作为build.gradle(project)中的存储库?

已经存在Google Java格式Jcenter

最新更新