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

fix(deps): update dependency ru.vyarus:gradle-animalsniffer-plugin to v2 #7042

Merged
merged 1 commit into from
Jan 26, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 26, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
ru.vyarus:gradle-animalsniffer-plugin 1.7.2 -> 2.0.0 age adoption passing confidence

Release Notes

xvik/gradle-animalsniffer-plugin (ru.vyarus:gradle-animalsniffer-plugin)

v2.0.0

Compare Source

  • (breaking) Drop gradle 5 and 6 support
  • (breaking) Fail check when no signatures declared (required to catch early configuration errors)
    • Now additional configuration required when only build signature tasks used (to disable check)
    • Add failWithoutSignatures option (true by default). Set to false for legacy behavior
  • Add android projects support (activates for android library and application plugins
    and use variant components (debug, release and test) instead of source sets).
  • Add kotlin multiplatform projects support (tasks created for each platform compilation, except metadata (common))
  • Improve debug:
    • Add printAnimalsnifferSourceInfo task for debug purposes (shows registered source sets, tasks, plugins)
    • Add printAnimalsnifferTasks task to print info about all registered tasks
  • Put all animalsniffer tasks under 'animalsniffer' group
  • Rename signature cache tasks to differentiate with check tasks (cache tasks starts with 'cache' keyword)
    • change cache tasks output path: /animalsniffer/cache/[checkTargetName]/[checkTaskName]Cache.sig
  • Change default tasks selection (tasks applied as dependency to the check task):
    • Add checkTestSources = false option to avoid tests sources checks by default
    • Add defaultTargets = [] (strings) option to limit default animalsniffer tasks.
    • Legacy sourceSets option still supported, but checkTestSources and defaultTargets override it
  • Add CSV report: used internally for building console and text reports, but could be
    used by an external tool to collect errors
  • Change field references in reports (when animalsniffer identifies field):
    before was "fieldName field", now only "#fieldName"
  • Add new properties to AnimalSniffer task to simplify detailed configuration:
    • targetType: type of task (SourceSet, MultiplatformTarget, AndroidVariant)
    • targetName: name of target (used in animalsniffer task name)
  • Call animalsniffer directly instead of ant tasks
  • Configuration cache compatibility

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team as a code owner January 26, 2025 08:24
Copy link

codecov bot commented Jan 26, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.96%. Comparing base (070aedc) to head (f0aff86).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #7042   +/-   ##
=========================================
  Coverage     89.96%   89.96%           
  Complexity     6663     6663           
=========================================
  Files           748      748           
  Lines         20085    20085           
  Branches       1970     1970           
=========================================
  Hits          18069    18069           
  Misses         1423     1423           
  Partials        593      593           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jkwatson jkwatson merged commit 5e1a397 into main Jan 26, 2025
25 checks passed
@jkwatson jkwatson deleted the renovate/ru.vyarus-gradle-animalsniffer-plugin-2.x branch January 26, 2025 19:24
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.

1 participant