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

Suggest putting jupiter on runtime only #2021

Merged
merged 5 commits into from
Jan 11, 2022

Conversation

jakobjuelich
Copy link
Contributor

Before this PR

checkUnusedDependenciesTest fails complaining org.junit.jupiter:junit-jupiter is unused and should be replaced by org.junit.jupiter:junit-jupiter-api. If one does that, checkJUnitDependencies fails and tells to put it back.

With this PR, a better solution is proposed in the error.

After this PR

==COMMIT_MSG==
Suggest putting jupiter on runtime only in error
==COMMIT_MSG==

Possible downsides?

@changelog-app
Copy link

changelog-app bot commented Dec 15, 2021

Generate changelog in changelog/@unreleased

Type

  • Feature
  • Improvement
  • Fix
  • Break
  • Deprecation
  • Manual task
  • Migration

Description

Upon missing jupiter on classpath, suggest putting it on runtime rather than implementation to avoid making checkUnusedDependenciesTest fail in return.

Check the box to generate changelog(s)

  • Generate changelog entry

@policy-bot policy-bot bot requested a review from xRuiAlves December 15, 2021 10:55
@stale
Copy link

stale bot commented Jan 8, 2022

This PR has been automatically marked as stale because it has not been touched in the last 14 days. If you'd like to keep it open, please leave a comment or add the 'long-lived' label, otherwise it'll be closed in 7 days.

@stale stale bot added the stale label Jan 8, 2022
@jakobjuelich
Copy link
Contributor Author

Go away stalebot!

Friendly ping @iamdanfox and @xRuiAlves – this one needs your approval.

@stale stale bot removed the stale label Jan 9, 2022
Copy link
Contributor

@carterkozak carterkozak left a comment

Choose a reason for hiding this comment

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

lgtm, thanks!

@bulldozer-bot bulldozer-bot bot merged commit 397a423 into develop Jan 11, 2022
@bulldozer-bot bulldozer-bot bot deleted the jj/runtime-junit-warning branch January 11, 2022 00:18
bulldozer-bot bot pushed a commit to palantir/witchcraft-api that referenced this pull request Jan 12, 2022
###### _excavator_ is a bot for automating changes across repositories.

Changes produced by the roomba/latest-baseline-oss check.

# Release Notes
## 4.57.0
| Type | Description | Link |
| ---- | ----------- | ---- |
| Improvement | Upon missing jupiter on classpath, suggest putting it on runtime rather than implementation to avoid making checkUnusedDependenciesTest fail in return. | palantir/gradle-baseline#2021 |
| Fix | Refine FilterOutputStreamSlowMultibyteWrite findings<br><br>Avoid warning FilterOutputStreamSlowMultibyteWrite when intermediate<br>type overrides both single and multibyte write methods. | palantir/gradle-baseline#2031 |
| Improvement | Ban AfterburnerModule to reduce JDK-17 risk | palantir/gradle-baseline#2032 |



To enable or disable this check, please contact the maintainers of Excavator.
This was referenced Jan 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants