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

Remove deprecated API #928

Closed
2 of 7 tasks
KengoTODA opened this issue Aug 1, 2023 · 3 comments
Closed
2 of 7 tasks

Remove deprecated API #928

KengoTODA opened this issue Aug 1, 2023 · 3 comments
Assignees

Comments

@KengoTODA
Copy link
Member

KengoTODA commented Aug 1, 2023

  • ConfigurableReport interface still provides this method, so we need to wait for Gradle 9.0

    • SpotBugsReport.getDestination(File)
  • ConfigurableReport interface still provides these methods, so we need to wait for Gradle 8.0

    • SpotBugsReport.setDestination(Provider)
    • SpotBugsReport.isEnabled
    • SpotBugsReport.setEnabled
  • SpotBugsTask.getFirstEnabledReport

  • SpotBugsTask.getEnabledReports

  • SpotBugsRunnerForWorker

@KengoTODA KengoTODA self-assigned this Aug 1, 2023
KengoTODA added a commit that referenced this issue Aug 13, 2023
refs #928

Signed-off-by: Kengo TODA <skypencil@gmail.com>
KengoTODA added a commit that referenced this issue Aug 13, 2023
refs #928

Signed-off-by: Kengo TODA <skypencil@gmail.com>
@victorwss
Copy link

Using Gradle 8.4-rc-2, Java 21, Spotbugs gradle plugin 6.0.0-beta.3 and Spotbugs 4.7.3, and running with --warning-mode all, I am getting this:

The org.gradle.util.ClosureBackedAction type has been deprecated. This is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/8.4-rc-2/userguide/upgrading_version_7.html#org_gradle_util_reports_deprecations
        at org.gradle.util.ClosureBackedAction.<clinit>(ClosureBackedAction.java:41)
        at com.github.spotbugs.snom.SpotBugsTask.reports(SpotBugsTask.kt:405)
        [... edited, a long stacktrace following down here ...]

Is that one of those deprecated stuff you intend to fix?

@KengoTODA
Copy link
Member Author

Yes, and it has been resolved in the beta.4 release (#974).

@Goooler
Copy link
Contributor

Goooler commented Apr 22, 2024

Deprecated AGP APIs have been tracked by #1054.

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

No branches or pull requests

3 participants