Skip to content

Commit

Permalink
Replace removed enabled method calls with properties (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmichaelreis authored Jan 10, 2024
1 parent f45ddd5 commit 0db0f26
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions rollbar_flutter/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ task checkstyleMain(type: Checkstyle) {
configFile file("$rootDir/tools/checkstyle/google_checks.xml")
classpath = files()
reports {
xml.enabled false
html.enabled true
xml.required = false
html.required = true
}
}

Expand All @@ -121,8 +121,8 @@ def makeCheckstyleTask(sourceSet, config) {
configFile file("$rootDir/tools/checkstyle/${config}")
classpath = files()
reports {
xml.enabled false
html.enabled true
xml.required = false
html.required = true
}
}

Expand Down Expand Up @@ -159,7 +159,7 @@ task spotbugsMain(type: com.github.spotbugs.snom.SpotBugsTask) {
release = project.version
reports {
html {
enabled = true
required = true
destination = file("$buildDir/reports/spotbugs/main/spotbugs.html")
stylesheet = 'fancy-hist.xsl'
}
Expand Down

1 comment on commit 0db0f26

@kilian-v
Copy link

@kilian-v kilian-v commented on 0db0f26 May 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello the error persist for me
A problem occurred evaluating project ':rollbar_flutter'.
Could not find method enabled() for arguments [false] on Report xml of type org.gradle.api.reporting.internal.TaskGeneratedSingleFileReport.

Please sign in to comment.