Skip to content

Commit 0db0f26

Browse files
authored
Replace removed enabled method calls with properties (#121)
1 parent f45ddd5 commit 0db0f26

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

rollbar_flutter/android/build.gradle

+5-5
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ task checkstyleMain(type: Checkstyle) {
104104
configFile file("$rootDir/tools/checkstyle/google_checks.xml")
105105
classpath = files()
106106
reports {
107-
xml.enabled false
108-
html.enabled true
107+
xml.required = false
108+
html.required = true
109109
}
110110
}
111111

@@ -121,8 +121,8 @@ def makeCheckstyleTask(sourceSet, config) {
121121
configFile file("$rootDir/tools/checkstyle/${config}")
122122
classpath = files()
123123
reports {
124-
xml.enabled false
125-
html.enabled true
124+
xml.required = false
125+
html.required = true
126126
}
127127
}
128128

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

0 commit comments

Comments
 (0)