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

Remove Artifactory publishing logic from gradle build #3256

Merged
merged 2 commits into from
Mar 19, 2025

Conversation

alecgrieser
Copy link
Collaborator

We no longer need the artifactory publishing logic that we used to use for publishing in the gradle build as new releases are no longer being published there. This removes the now dead code from the build, which means we no longer need to include the artficatory plugin in our build-time dependencies, which is nice.

There are a few other build files that appear to be dead code that we can remove, but this is more targeted. I've validated that I can still publish to maven local with this change, and all of the logic seems to be pretty specific to actually running an artifactory build, so this shouldn't disrupt our other build procedures, but I guess one never knows.

This resolves #3249.

We no longer need the artifactory publishing logic that we used to use for publishing in the gradle build as new releases are no longer being published there. This removes the now dead code from the build, which means we no longer need to include the artficatory plugin in our build-time dependencies, which is nice.

There are a few other build files that appear to be dead code that we can remove, but this is more targetted.

This resolves FoundationDB#3249.
@alecgrieser alecgrieser added the build improvement Improvement to the build system label Mar 18, 2025
@alecgrieser alecgrieser requested a review from ScottDugas March 18, 2025 19:18
@alecgrieser alecgrieser added the cleanup Stylistic code cleanup label Mar 18, 2025
@@ -37,7 +37,6 @@ plugins {
alias(libs.plugins.versions)
alias(libs.plugins.spotbugs)
alias(libs.plugins.nexus)
alias(libs.plugins.artifactory)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can this be removed from libs.versions.toml now?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Oh whoops. Definitely meant to remove it the first time. Yeah, it's unreferenced now. Removed

@@ -74,17 +73,6 @@ if (ext.publishLibrary) {
}
}
}
artifactoryPublish {
Copy link
Collaborator

Choose a reason for hiding this comment

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

This does mean that build.py will break, but we're not using that anywhere, and plan to remove it very shortly, so that seems fine.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah. I've filed #3257 to do just that. Given that build.py is also unused by our build process, I think it's okay if it's broken. Or we remove it first.

@alecgrieser alecgrieser requested a review from ScottDugas March 19, 2025 09:35
@ScottDugas ScottDugas merged commit 965dcbe into FoundationDB:main Mar 19, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build improvement Improvement to the build system cleanup Stylistic code cleanup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove Artifactory publishing logic
2 participants