找到报错的仓库
修改
classpath += files(project.getConfigurations().getByName('compile').asList())
为
project.getConfigurations().getByName('implementation').setCanBeResolved(true)
classpath += files(project.getConfigurations().getByName('implementation').asList())
网友评论