diff --git a/.idea/runConfigurations.xml b/.idea/runConfigurations.xml
new file mode 100644
index 0000000..797acea
--- /dev/null
+++ b/.idea/runConfigurations.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/README.md b/README.md
index 1a28679..91b6a46 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,5 @@
-[](http://opensource.org/licenses/BSD-3-Clause) [](https://snyk.io/test/github/ethauvin/mobibot?targetFile=build.gradle) [](https://github.com/ethauvin/mobibot/actions/workflows/gradle.yml) [](https://circleci.com/gh/ethauvin/mobibot/tree/master)
+[](https://opensource.org/licenses/BSD-3-Clause) [](https://sonarcloud.io/summary/new_code?id=ethauvin_mobibot)
+ [](https://snyk.io/test/github/ethauvin/mobibot?targetFile=build.gradle) [](https://github.com/ethauvin/mobibot/actions/workflows/gradle.yml) [](https://circleci.com/gh/ethauvin/mobibot/tree/master)
Some very basic instructions:
diff --git a/build.gradle b/build.gradle
index 96e8940..5527079 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,13 +1,13 @@
plugins {
id 'application'
- id 'com.github.ben-manes.versions' version '0.41.0'
+ id 'com.github.ben-manes.versions' version '0.42.0'
id 'idea'
id 'io.gitlab.arturbosch.detekt' version '1.19.0'
id 'java'
id 'net.thauvin.erik.gradle.semver' version '1.0.4'
id 'org.jetbrains.kotlin.jvm' version '1.6.10'
id 'org.jetbrains.kotlin.kapt' version '1.6.10'
- id 'org.jetbrains.kotlinx.kover' version '0.4.4'
+ id 'org.jetbrains.kotlinx.kover' version '0.5.0'
id 'org.sonarqube' version '3.3'
id 'pmd'
}
@@ -28,7 +28,7 @@ mainClassName = packageName + '.Mobibot'
ext.versions = [
log4j: '2.17.1',
- pmd : '6.41.0',
+ pmd : '6.42.0',
]
repositories {
@@ -42,22 +42,27 @@ dependencies {
kapt(semverProcessor)
compileOnly(semverProcessor)
+ // PircBotX
implementation 'com.github.pircbotx:pircbotx:-SNAPSHOT'
+ // Commons
implementation 'org.apache.commons:commons-lang3:3.12.0'
implementation 'org.apache.commons:commons-text:1.9'
-
implementation 'commons-cli:commons-cli:1.5.0'
implementation 'commons-codec:commons-codec:1.15'
implementation 'commons-net:commons-net:3.8.0'
- implementation 'com.google.code.gson:gson:2.8.9'
+ // Google
+ implementation 'com.google.code.gson:gson:2.9.0'
implementation 'com.google.guava:guava:31.0.1-jre'
- implementation(platform("org.jetbrains.kotlin:kotlin-bom"))
+ // Kotlin
+ implementation platform('org.jetbrains.kotlin:kotlin-bom')
+ implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0'
- implementation 'org.slf4j:slf4j-api:1.7.33'
+ // Logging
+ implementation 'org.slf4j:slf4j-api:1.7.36'
implementation "org.apache.logging.log4j:log4j-api:$versions.log4j"
implementation "org.apache.logging.log4j:log4j-core:$versions.log4j"
implementation "org.apache.logging.log4j:log4j-slf4j-impl:$versions.log4j"
@@ -117,9 +122,9 @@ tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
}
tasks.named("dependencyUpdates").configure {
- rejectVersionIf {
- isNonStable(it.candidate.version)
- }
+ rejectVersionIf {
+ isNonStable(it.candidate.version)
+ }
}
pmd {
diff --git a/config/detekt/baseline.xml b/config/detekt/baseline.xml
index 5f0626e..148cb7e 100644
--- a/config/detekt/baseline.xml
+++ b/config/detekt/baseline.xml
@@ -20,6 +20,9 @@
MagicNumber:Cycle.kt$Cycle$10
MagicNumber:Cycle.kt$Cycle$1000L
MagicNumber:Ignore.kt$Ignore$8
+ MagicNumber:Info.kt$Info.Companion$30
+ MagicNumber:Info.kt$Info.Companion$365
+ MagicNumber:Info.kt$Info.Companion$7
MagicNumber:Mobibot.kt$Mobibot$8
MagicNumber:Modules.kt$Modules$7
MagicNumber:StockQuote.kt$StockQuote.Companion$10
@@ -29,9 +32,6 @@
MagicNumber:Twitter.kt$Twitter$60L
MagicNumber:TwitterOAuth.kt$TwitterOAuth$401
MagicNumber:Users.kt$Users$8
- MagicNumber:Utils.kt$Utils$30
- MagicNumber:Utils.kt$Utils$365
- MagicNumber:Utils.kt$Utils$7
MagicNumber:Weather2.kt$Weather2.Companion$1.60934
MagicNumber:Weather2.kt$Weather2.Companion$32
MagicNumber:Weather2.kt$Weather2.Companion$404
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index 2e6e589..41dfb87 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
diff --git a/version.properties b/version.properties
index 2f05c8d..8627346 100644
--- a/version.properties
+++ b/version.properties
@@ -1,9 +1,9 @@
#Generated by the Semver Plugin for Gradle
-#Wed Jan 19 15:20:26 PST 2022
-version.buildmeta=001
+#Sat Feb 12 23:41:45 PST 2022
+version.buildmeta=023
version.major=0
version.minor=8
version.patch=0
version.prerelease=rc
version.project=mobibot
-version.semver=0.8.0-rc+001
+version.semver=0.8.0-rc+023