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

Optimize junit dependencies for each test target #303

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

brian-mcnamara
Copy link
Contributor

@brian-mcnamara brian-mcnamara commented Oct 22, 2024

This change simplifies the dependency list for the junit suite test targets by creating a export-only library used to group the dependencies together via an export-only java_library. The primary reason for this is to simplify the project model for IntelliJ using the new Bazel plugin. With this change, the IntelliJ model does not duplicate the dependencies for each test class in the Aspects and the internal project model and instead only refers to the java library.

Copy link
Collaborator

@shs96c shs96c left a comment

Choose a reason for hiding this comment

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

This makes sense. Thank you for the PR!

@shs96c shs96c merged commit 0739fc5 into bazel-contrib:main Nov 4, 2024
8 checks passed
@brian-mcnamara brian-mcnamara deleted the classpathOptimization branch November 4, 2024 17:30
@brian-mcnamara
Copy link
Contributor Author

Thanks @shs96c for taking a look! Is there plans to publish a release in the near future?

@brian-mcnamara
Copy link
Contributor Author

@shs96c would a release be possible, or is there one planned in the near future?

@shs96c
Copy link
Collaborator

shs96c commented Nov 16, 2024

We can push a release, but I'd like us to fix the artifact hashing algorithms first. My day job has been pretty busy, so I've not had much time to focus on that.

@brian-mcnamara
Copy link
Contributor Author

Totally understandable. Ill update us to use a commit in the mean time. Thanks for the update!

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