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

build: bump hiero-gradle-conventions to 0.3.4 / correct requires static #17876

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jjohannes
Copy link
Contributor

@jjohannes jjohannes commented Feb 13, 2025

Description:

The dependency analysis - through the update of the plugin to 2.8.x - now does a better job analyzing "requires static" dependencies. That's why the update makes the check fail.

This PR changes:

  • requires static com.github.spotbugs.annotations for main code to
    requires static transitive com.github.spotbugs.annotations
  • Removes requiresStatic("com.github.spotbugs.annotations") for unit tests as this is inherited from main code dependencies

@jjohannes jjohannes requested review from a team and tinker-michaelj as code owners February 13, 2025 07:56
@jjohannes jjohannes self-assigned this Feb 13, 2025
@jjohannes jjohannes added this to the v0.60 milestone Feb 13, 2025
@jjohannes jjohannes force-pushed the deps-gradle-convnetions-0.3.4 branch from 1647d2a to c336ba8 Compare February 13, 2025 08:00
Copy link

codacy-production bot commented Feb 13, 2025

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
+0.00% (target: -1.00%)
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (0515075) 99458 72533 72.93%
Head commit (c336ba8) 99458 (+0) 72535 (+2) 72.93% (+0.00%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#17876) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

Codacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more

Copy link

codecov bot commented Feb 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.02%. Comparing base (0515075) to head (c336ba8).

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##               main   #17876      +/-   ##
============================================
+ Coverage     69.01%   69.02%   +0.01%     
- Complexity    23050    23053       +3     
============================================
  Files          2655     2655              
  Lines         99675    99675              
  Branches      10289    10289              
============================================
+ Hits          68795    68805      +10     
+ Misses        26981    26979       -2     
+ Partials       3899     3891       -8     

see 12 files with indirect coverage changes

Impacted file tree graph

timo0
timo0 previously approved these changes Feb 13, 2025
@jjohannes jjohannes requested review from a team as code owners February 14, 2025 07:32
lpetrovic05
lpetrovic05 previously approved these changes Feb 14, 2025
@jjohannes jjohannes force-pushed the deps-gradle-convnetions-0.3.4 branch from 1a72868 to 8fcc5fb Compare February 14, 2025 13:52
The dependency analysis - through the update of the plugin to 2.8.x -
now does a better job analyzing "requires static" dependencies.
That's why the update makes the check fail.

This PR changes:
- 'requires static com.github.spotbugs.annotations' for 'main' code to
  'requires static transitive com.github.spotbugs.annotations'
- Removes 'requiresStatic("com.github.spotbugs.annotations")' for unit
  tests as this is inherited from main code dependencies

Signed-off-by: Jendrik Johannes <[email protected]>
@jjohannes jjohannes dismissed stale reviews from timo0 and lpetrovic05 via b325a6d February 20, 2025 07:06
@jjohannes jjohannes force-pushed the deps-gradle-convnetions-0.3.4 branch from 8fcc5fb to b325a6d Compare February 20, 2025 07:06
Copy link
Contributor

@andrewb1269hg andrewb1269hg left a comment

Choose a reason for hiding this comment

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

Review and approve build.gradle.kts and settings.gradle.kts files

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.

6 participants