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: Fix Gradle warnings #95

Open
smarkwal opened this issue Jan 5, 2022 · 1 comment
Open

Build: Fix Gradle warnings #95

smarkwal opened this issue Jan 5, 2022 · 1 comment
Labels
techdebt Technical debts waiting On hold while waiting for something

Comments

@smarkwal
Copy link
Owner

smarkwal commented Jan 5, 2022

Gradle warnings:

  • Unresolved imports/types have been detected during analysis. Enable DEBUG mode to see them.
  • Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
  • You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
@smarkwal smarkwal added the techdebt Technical debts label Jan 5, 2022
@smarkwal
Copy link
Owner Author

smarkwal commented Jan 9, 2022

Two warnings are reported for sonarqube task:

> Task :sonarqube
The Report.destination property has been deprecated. This is scheduled to be removed in Gradle 8.0. Please use the outputLocation property instead. See https://docs.gradle.org/7.3.3/dsl/org.gradle.api.reporting.Report.html#org.gradle.api.reporting.Report:destination for more details.
The Report.enabled property has been deprecated. This is scheduled to be removed in Gradle 8.0. Please use the required property instead. See https://docs.gradle.org/7.3.3/dsl/org.gradle.api.reporting.Report.html#org.gradle.api.reporting.Report:enabled for more details.

But both properties seem to be used from the SonarQube plugin. There are no usages of properties destination or enabled in the build script.

Issue: https://jira.sonarsource.com/browse/SONARGRADL-84

@smarkwal smarkwal added the waiting On hold while waiting for something label Jan 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
techdebt Technical debts waiting On hold while waiting for something
Projects
None yet
Development

No branches or pull requests

1 participant