原文:解决declares a dependency from configuration 'compile' to configuration 'default' which is not declared in the descriptor for project :kdps-common.

使用gradle build x test debug stacktrace也看不出什么 发现在这个build.gradle中引入的三个其他模块都不行。而其他模块之间相互依赖是正常的。 在目录中发现问题模块的不同之处: 右边是其他能正常编译的模块。 之所以出现这样的情况:是因为当初创建模块的时候,使用的gradle不一样。 在问题模块中使用的第三种。都改为第二种正常编译 下图红框内 。 ...

2017-07-18 13:48 0 5940 推荐指数:

查看详情

解决Configuration 'compile' is obsolete and has been replaced with implementation

项目中Gradle版本升级到4.4后,项目构建时,每次出现红色的警告信息: 但本地项目代码中compile都已经完成了implementation,警告信息依然出现。 一开始百思不得解,警告信息相对过于简单,且对应模块也已经全部完成了替换。 最终考虑使用命令进行 ...

Sat Apr 13 17:49:00 CST 2019 0 7251
dpkg dependency problems prevent configuration

dpkg: dependency problems prevent configuration of cr3: cr3 depends on libpng12-0 (>= 1.2.13-4); however: Package libpng12-0 is not installed. ...

Sun Feb 24 06:49:00 CST 2019 0 701
@Configuration

每天都过的很快,今天de我依旧碌碌无为,心情依旧很down,加油 ,加油,小菜🦆 (一)标注在类上的应用 @Configuration作用等同于xml 中的<beans></beans> 标签 MyConfigurationTest.java文件 ...

Tue Dec 24 06:59:00 CST 2019 0 266
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM