-
Notifications
You must be signed in to change notification settings - Fork 599
[#738]:Dependencies follow alphabetical order #1703
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
Conversation
g Branch updated
branch updated
Branch updated
Updated branch
Please take a look , if this looks good , I will do the same for all subsequent build.gradle.kts files . This is just a demo. |
you need to run |
Look good, but I think you may have moved a little too much around. It's just the content inside the dependencies block that needs to change. |
Could you mark in the files changed where I changed something I shouldn't have ,so that its clear. Should I not rearrange the 'exclude(xx)' dependencies. |
implementation(project(":api")) | ||
implementation(project(":common")) | ||
implementation(project(":core")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are always on the top.
…ependSort ines starting with '#' will be ignored, and an empty message aborts
@hiirrxnn Do you need help? I suggest you run "./gradlew build -DskipTests -DskipITs" before pushing code to GitHub to ensure everything is OK locally. |
I have run the said command in check details but the issue persists. |
@hiirrxnn
|
I'm currently using VS Code IDE , JDK version : openjdk version "17.0.6" 2023-01-17 |
This push is a draft , I will review it if any CI fails. |
You need to run |
CI is still failing .Could you help me pinpoint which specific files are causing the problem ? |
If you look at the details you'll see it will tell you where it is failing in this case, you need to run |
Here is the patch. Please take a look. |
…ependSort Please enter a commit message to explain why this merge is necessary, asda
Thanks @hiirrxnn for the PR. @yuqi1129 @qqqttt123 do you have further comments? |
I'm okay with the changes. |
I still have one file remaining to sort , since because of it CI was failing , I pushed it untouched and will edit it once you guys approve the current changes Let me know if there are other improvements to be made. |
Hi, Is your local environment Windows? Can you help try this |
I'm sorry but I use MacOS. |
@hiirrxnn |
Sure |
api/build.gradle.kts
Outdated
testRuntimeOnly(libs.junit.jupiter.engine) | ||
testImplementation(libs.junit.jupiter.params) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we introduce a duplicated dependency libs.junit.jupiter.params
?
testImplementation(libs.testcontainers) | ||
testImplementation(libs.testcontainers.junit.jupiter) | ||
testImplementation(libs.testcontainers.mysql) | ||
testImplementation(libs.testcontainers.postgresql) | ||
testImplementation(libs.trino.jdbc) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this is missing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hiirrxnn
Please undo the changes and resolve any conflicts.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LTGM, @qqqttt123 do you have any further comments?
@hiirrxnn |
What changes were proposed in this pull request?
Dependencies follow alphabetical order
Why are the changes needed?
For better readability
Fix: #738
Does this PR introduce any user-facing change?
N/A
How was this patch tested?
N/A