diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml
index e310056..3ad4dc5 100644
--- a/.idea/codeStyles/Project.xml
+++ b/.idea/codeStyles/Project.xml
@@ -9,15 +9,7 @@
-
-
-
-
-
-
-
-
-
+
\ No newline at end of file
diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml
new file mode 100644
index 0000000..f243f08
--- /dev/null
+++ b/.idea/inspectionProfiles/Project_Default.xml
@@ -0,0 +1,36 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml
index 39b5ad2..8920634 100644
--- a/.idea/jarRepositories.xml
+++ b/.idea/jarRepositories.xml
@@ -26,5 +26,10 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index 0474152..1503b42 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -1,5 +1,8 @@
+
+
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
index 7f5e9cb..412ab78 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,6 +1,5 @@
plugins {
id 'application'
- id 'checkstyle'
id 'com.github.ben-manes.versions' version '0.39.0'
id 'idea'
id 'io.gitlab.arturbosch.detekt' version '1.17.1'
@@ -153,27 +152,19 @@ jacoco {
}
jacocoTestReport {
- dependsOn(test)
+ dependsOn test
reports {
- html.enabled = true
- xml.enabled = true
- }
-}
-
-tasks.withType(Checkstyle) {
- reports {
- xml.enabled = false
- html.enabled = true
+ html.required = true
+ xml.required = true
}
}
tasks.sonarqube {
- dependsOn('jacocoTestReport')
+ dependsOn 'jacocoTestReport'
}
task copyToDeploy(type: Copy) {
- from('properties')
- from jar
+ from('properties', jar)
into deployDir
}
diff --git a/config/checkstyle/checkstyle.xml b/config/checkstyle/checkstyle.xml
deleted file mode 100644
index c5f6465..0000000
--- a/config/checkstyle/checkstyle.xml
+++ /dev/null
@@ -1,277 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/main/java/net/thauvin/erik/mobibot/modules/War.java b/src/main/java/net/thauvin/erik/mobibot/modules/War.java
index 88e70f7..1f86130 100644
--- a/src/main/java/net/thauvin/erik/mobibot/modules/War.java
+++ b/src/main/java/net/thauvin/erik/mobibot/modules/War.java
@@ -52,8 +52,8 @@ public final class War extends AbstractModule {
// War command
private static final String WAR_CMD = "war";
// Deck of card
- private static final String[] WAR_DECK =
- {"Ace", "King", "Queen", "Jack", "10", "9", "8", "7", "6", "5", "4", "3", "2"};
+ private static final String[] WAR_DECK =
+ {"Ace", "King", "Queen", "Jack", "10", "9", "8", "7", "6", "5", "4", "3", "2"};
// Suits for the deck of card
private static final String[] WAR_SUITS = {"Hearts", "Spades", "Diamonds", "Clubs"};
diff --git a/src/main/kotlin/net/thauvin/erik/mobibot/modules/Twitter.kt b/src/main/kotlin/net/thauvin/erik/mobibot/modules/Twitter.kt
index 09441a4..f018be9 100644
--- a/src/main/kotlin/net/thauvin/erik/mobibot/modules/Twitter.kt
+++ b/src/main/kotlin/net/thauvin/erik/mobibot/modules/Twitter.kt
@@ -130,7 +130,7 @@ class Twitter(bot: Mobibot) : ThreadedModule(bot) {
}
post(message = msg, isDm = false)
} catch (e: ModuleException) {
- if (bot.logger.isWarnEnabled) logger.warn("Failed to post entry on Twitter.", e)
+ if (logger.isWarnEnabled) logger.warn("Failed to post entry on Twitter.", e)
}
}.start()
removeEntry(index)
diff --git a/version.properties b/version.properties
index f04ec96..d03d290 100644
--- a/version.properties
+++ b/version.properties
@@ -1,9 +1,9 @@
#Generated by the Semver Plugin for Gradle
-#Mon May 31 14:55:18 PDT 2021
-version.buildmeta=870
+#Fri Jun 18 20:20:40 PDT 2021
+version.buildmeta=872
version.major=0
version.minor=8
version.patch=0
version.prerelease=beta
version.project=mobibot
-version.semver=0.8.0-beta+870
+version.semver=0.8.0-beta+872