Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
想和某人确认一下,gradle 生成的锁定文件是否意味着要签入源代码管理?我的项目生成了很多。
https://docs.gradle.org/current/userguide/dependency_locking.html
简而言之,是的,如果您想要可重复的构建。我们对动态依赖制定了非常严格的规则,并让 Jenkins 为我们更新锁文件,以避免合并冲突。这样,我们就保持最新状态,并且每次提交都有可重复的构建