From 8a945b2dc6d0a533468e19d5e958a5bcc04ca706 Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Thu, 29 Apr 2021 19:07:41 -0700 Subject: [PATCH] Switched to detekt snapshot for now. --- build.gradle | 6 +++--- config/detekt/baseline.xml | 1 + version.properties | 6 +++--- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/build.gradle b/build.gradle index b7f043f..65a28a8 100644 --- a/build.gradle +++ b/build.gradle @@ -2,7 +2,7 @@ plugins { id 'application' id 'checkstyle' id 'com.github.ben-manes.versions' version '0.38.0' - id 'com.github.spotbugs' version '4.7.0' + id 'com.github.spotbugs' version '4.7.1' id 'idea' id 'io.gitlab.arturbosch.detekt' version '1.16.0' id 'jacoco' @@ -10,7 +10,7 @@ plugins { id 'net.thauvin.erik.gradle.semver' version '1.0.4' id 'org.jetbrains.kotlin.jvm' version '1.5.0' id 'org.jetbrains.kotlin.kapt' version '1.5.0' - id 'org.sonarqube' version '3.1.1' + id 'org.sonarqube' version '3.2.0' id 'pmd' } @@ -29,7 +29,6 @@ ext.versions = [ repositories { mavenLocal() mavenCentral() - jcenter() maven { url 'https://oss.sonatype.org/content/repositories/snapshots' } } @@ -127,6 +126,7 @@ pmd { } detekt { + toolVersion = "main-SNAPSHOT" ignoreFailures = true // Baseline is incomplete and fails on various CIs, not sure why. baseline = file("${projectDir}/config/detekt/baseline.xml") } diff --git a/config/detekt/baseline.xml b/config/detekt/baseline.xml index 7d83c69..91a5e9c 100644 --- a/config/detekt/baseline.xml +++ b/config/detekt/baseline.xml @@ -2,6 +2,7 @@ + ComplexCondition:Addons.kt$Addons$((isPrivate && module.isPrivateMsgEnabled) || !isPrivate) && module.commands.contains(cmd) ComplexMethod:EntriesMgr.kt$EntriesMgr$ fun saveEntries( bot: Mobibot, entries: List<EntryLink>, history: MutableList<String>, isDayBackup: Boolean ) ComplexMethod:Weather2.kt$Weather2.Companion$ @JvmStatic @Throws(ModuleException::class) fun getWeather(query: String, apiKey: String?): List<Message> LongMethod:EntriesMgr.kt$EntriesMgr$ fun saveEntries( bot: Mobibot, entries: List<EntryLink>, history: MutableList<String>, isDayBackup: Boolean ) diff --git a/version.properties b/version.properties index 2ade38c..b0273e9 100644 --- a/version.properties +++ b/version.properties @@ -1,9 +1,9 @@ #Generated by the Semver Plugin for Gradle -#Wed Apr 28 19:39:18 PDT 2021 -version.buildmeta=525 +#Thu Apr 29 18:56:59 PDT 2021 +version.buildmeta=526 version.major=0 version.minor=8 version.patch=0 version.prerelease=beta version.project=mobibot -version.semver=0.8.0-beta+525 +version.semver=0.8.0-beta+526