Skip to content

Fix deprecated Report.destination property (removed in Gradle 9.0) #20

Description

@Besi97

Deprecation Warning

Report.destination property on JacocoReport is deprecated. Use outputLocation instead.

Where

build.gradle:43 (root library)

xml.destination = file("${buildDir}/reports/jacoco/report.xml")

Fix

Replace destination with outputLocation:

xml.outputLocation = file("${buildDir}/reports/jacoco/report.xml")

Removed in

Gradle 9.0

Resource

https://docs.gradle.org/8.14.3/dsl/org.gradle.api.reporting.Report.html#org.gradle.api.reporting.Report:destination

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions