Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dependency guard #7507

Merged
merged 4 commits into from
Jan 15, 2024
Merged

Add dependency guard #7507

merged 4 commits into from
Jan 15, 2024

Conversation

wmontwe
Copy link
Member

@wmontwe wmontwe commented Jan 15, 2024

For a better control over dependencies used by the release version of the app, this introduces Dependency Guard. It creates a text file listing all dependencies in use by the releaseRuntimeClasspath configuration of the K9Mail App. Whenever there is a change it will fail the build. This should help to to discover transitive dependency changes when updating project dependencies.

@wmontwe wmontwe requested a review from cketti as a code owner January 15, 2024 10:23
@wmontwe wmontwe force-pushed the add-dependency-guard branch from 7cd9f2e to 4f12289 Compare January 15, 2024 10:30
@wmontwe wmontwe force-pushed the add-dependency-guard branch from f4f7860 to 54ab489 Compare January 15, 2024 10:37
@@ -41,6 +41,7 @@ glide = "4.16.0"
moshi = "1.15.0"
mockito = "5.8.0"
forkhandlesBom = "2.12.2.0"
pluginDependencyGuard = "0.4.3"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The other Gradle-related entries are at the top. Maybe move it there and remove the "plugin" prefix?

Copy link
Member Author

@wmontwe wmontwe Jan 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The version catalog could be cleaned up, but I would do that as seperate task -> #7508

@wmontwe wmontwe merged commit 4c68731 into main Jan 15, 2024
2 checks passed
@wmontwe wmontwe deleted the add-dependency-guard branch January 15, 2024 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants