Repository navigation
Conversation
Co-Authored-By: jason.han <hanhuijun@gmail.com>
Contributor
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Removes dependency declarations from four modules whose sources never import the dependency's packages.
permissionsimplementation project(":data")org.openmbee.mms.data.*import underpermissions/srcpermissionsimplementation 'org.apache.commons:commons-lang3'org.apache.commons.lang3.*import underpermissions/srcstorageimplementation commonDependencies.'servlet-api'jakarta.servlet.*import understorage/srcartifactsimplementation commonDependencies.'servlet-api'jakarta.servlet.*import underartifacts/srccoreimplementation commonDependencies.'servlet-api'jakarta.servlet.*import undercore/srcAll five are
implementationscope, so they are not on any consumer's compile classpath and removing them does not change what the published modules expose.Verification
./gradlew compileJava compileTestJavapasses for every module../gradlew :permissions:test :storage:test :artifacts:test :core:test bootJarpasses.Not verified
implementationdependencies still appear in the published POM atruntimescope. A downstream app that relied onpermissionsto pull incommons-lang3ordataat runtime, without declaring them itself, would lose them. The in-repoexampleapp still getsservlet-apithrough Spring Boot's web starter.Left in place on purpose
datadeclaresapi commonDependencies.'spring-security-core'and no source underdata/srcimportsorg.springframework.security.*. It isapiscope, so removing it would change the compile classpath of anything depending ondata; it is not touched here.Implemented in session Find and remove dead code in exec-mms
Review with Devin · Open in Devin Desktop