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

Bump ru.vyarus:gradle-animalsniffer-plugin from 1.7.2 to 2.0.0 #340

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 27, 2025

Bumps ru.vyarus:gradle-animalsniffer-plugin from 1.7.2 to 2.0.0.

Release notes

Sourced from ru.vyarus:gradle-animalsniffer-plugin's releases.

2.0.0

  • (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

Detailed release notes with migration guide

Changelog

Sourced from ru.vyarus:gradle-animalsniffer-plugin's changelog.

2.0.0 (2025-01-25)

  • (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
Commits
  • 57e5466 [Gradle Release Plugin] - pre tag commit: '2.0.0'.
  • efb7b6b update docs
  • cc53042 docs fixes
  • ca172a0 docs fixes
  • 97d2763 add documentation site
  • eac2bbf add debug multiplatform tests for multiple non-android platforms
  • c7f6f99 show android test components in print sources task output
  • deb2bc7 Merge pull request #105 from xvik/dependabot/gradle/com.github.ben-manes.vers...
  • 9432226 Bump com.github.ben-manes.versions from 0.51.0 to 0.52.0
  • acaa307 fix appveyor tests
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [ru.vyarus:gradle-animalsniffer-plugin](https://github.com/xvik/gradle-animalsniffer-plugin) from 1.7.2 to 2.0.0.
- [Release notes](https://github.com/xvik/gradle-animalsniffer-plugin/releases)
- [Changelog](https://github.com/xvik/gradle-animalsniffer-plugin/blob/master/CHANGELOG.md)
- [Commits](xvik/gradle-animalsniffer-plugin@1.7.2...2.0.0)

---
updated-dependencies:
- dependency-name: ru.vyarus:gradle-animalsniffer-plugin
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Jan 27, 2025
@andrewparmet andrewparmet merged commit d5ad111 into main Jan 27, 2025
37 checks passed
@andrewparmet andrewparmet deleted the dependabot/gradle/ru.vyarus-gradle-animalsniffer-plugin-2.0.0 branch January 27, 2025 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant