是Gradle';s'latest.release'与本机锁定功能兼容
我正在为我的项目中的所有模块使用,我的大多数依赖项都是用是Gradle';s'latest.release'与本机锁定功能兼容,gradle,Gradle,我正在为我的项目中的所有模块使用,我的大多数依赖项都是用latest.releaseversion声明的 一切都很好,直到有一天CI被破坏,因为其中一个库得到了更新,因此有了新版本。这导致我的Gradle构建失败,但有一个例外: Execution failed for task ':modules:...:compileJava'. > Could not resolve all files for configuration ':modules:application:compileC
latest.release
version声明的
一切都很好,直到有一天CI被破坏,因为其中一个库得到了更新,因此有了新版本。这导致我的Gradle构建失败,但有一个例外:
Execution failed for task ':modules:...:compileJava'.
> Could not resolve all files for configuration ':modules:application:compileClasspath'.
> Did not resolve 'com.x.y:z:2.14.0' which has been forced / substituted to a different version: '2.15.0-rc1'
此库声明如下所述:
implemenetation('org.apache.commons:commons-lang3:latest.release')
那么为什么会忽略锁文件呢?是否为最新版本。版本约束是否与Gradle锁定机制兼容?在GitHub上发现问题 它与
https://github.com/spring-gradle-plugins/dependency-management-plugin/issues/258