update syntax to snom 6

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
Andy Scherzinger 2023-12-04 09:47:52 +01:00
parent ee84703c94
commit 21e6823383
No known key found for this signature in database
GPG Key ID: 6CADC7E3523C308B

View File

@ -24,6 +24,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
import com.github.spotbugs.snom.SpotBugsTask import com.github.spotbugs.snom.SpotBugsTask
import com.github.spotbugs.snom.Confidence
import com.github.spotbugs.snom.Effort
apply plugin: 'com.android.application' apply plugin: 'com.android.application'
apply plugin: 'kotlin-android' apply plugin: 'kotlin-android'
@ -322,8 +324,8 @@ task installGitHooks(type: Copy, group: "development") {
spotbugs { spotbugs {
ignoreFailures = true // should continue checking ignoreFailures = true // should continue checking
effort = "max" effort = Effort.MAX
reportLevel = "medium" reportLevel = Confidence.valueOf('MEDIUM')
} }
tasks.withType(SpotBugsTask) { task -> tasks.withType(SpotBugsTask) { task ->