tony
04/18/2022, 11:07 PMephemient
04/19/2022, 12:09 AMSam Edwards
04/19/2022, 1:19 AMSam Edwards
04/19/2022, 1:20 AMtony
04/19/2022, 1:50 AM* What went wrong:
A problem occurred configuring root project 'register'.
> Could not resolve all files for configuration ':classpath'.
> Resolved 'com.google.protobuf:protobuf-javalite:3.18.1' which is not part of the dependency lock state
this was for the build classpathSam Edwards
04/19/2022, 1:53 AM./gradlew dependencyGuard
then it'll compare to the baseline and fail with the difference. Then you can rebase with ./gradlew dependencyGuardBaseline
.
You can do a dependsOn() if you want to commonly run the dependencyGuard
task to find the change early, but otherwise you can have CI fail the build with it.
It just forces "intentional dependency changes". The big part of it is catching transitive dependencies for a specific config.Sam Edwards
04/19/2022, 1:55 AMCristianGM
04/19/2022, 6:25 AMtony
04/19/2022, 6:45 AMCristianGM
04/19/2022, 6:49 AMCristianGM
04/19/2022, 6:50 AMCristianGM
04/19/2022, 6:51 AMCristianGM
04/19/2022, 6:52 AMCristianGM
04/19/2022, 6:54 AMtony
04/19/2022, 7:31 AMThomas Broyer
04/19/2022, 9:06 AMSam Edwards
04/19/2022, 1:50 PMSam Edwards
04/19/2022, 1:51 PMSam Edwards
04/19/2022, 1:51 PMSam Edwards
04/19/2022, 3:07 PMSam Edwards
04/20/2022, 4:41 PMSam Edwards
04/22/2022, 2:57 PM0.1.0-SNAPSHOT
is available.
Thanks @tony for using the Github issue track for the feedback you have given so far!