Updated dependencies
This commit is contained in:
parent
c99debd740
commit
65fa55d51f
3 changed files with 8 additions and 7 deletions
2
.idea/kotlinc.xml
generated
2
.idea/kotlinc.xml
generated
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="KotlinJpsPluginSettings">
|
||||
<option name="version" value="1.9.0" />
|
||||
<option name="version" value="1.9.10" />
|
||||
</component>
|
||||
</project>
|
|
@ -5,7 +5,7 @@ import io.gitlab.arturbosch.detekt.DetektCreateBaselineTask
|
|||
|
||||
plugins {
|
||||
id 'application'
|
||||
id 'com.github.ben-manes.versions' version '0.47.0'
|
||||
id 'com.github.ben-manes.versions' version '0.48.0'
|
||||
id 'idea'
|
||||
id 'io.gitlab.arturbosch.detekt' version '1.23.1'
|
||||
id 'java'
|
||||
|
@ -70,7 +70,7 @@ dependencies {
|
|||
implementation 'org.jetbrains.kotlinx:kotlinx-cli:0.3.6'
|
||||
|
||||
// Logging
|
||||
implementation 'org.slf4j:slf4j-api:2.0.7'
|
||||
implementation 'org.slf4j:slf4j-api:2.0.9'
|
||||
implementation "org.apache.logging.log4j:log4j-api:$versions.log4j"
|
||||
implementation "org.apache.logging.log4j:log4j-core:$versions.log4j"
|
||||
implementation "org.apache.logging.log4j:log4j-slf4j2-impl:$versions.log4j"
|
||||
|
@ -86,9 +86,9 @@ dependencies {
|
|||
implementation 'net.thauvin.erik:cryptoprice:1.0.0'
|
||||
implementation 'net.thauvin.erik:jokeapi:0.9-SNAPSHOT'
|
||||
implementation 'net.thauvin.erik:pinboard-poster:1.0.3'
|
||||
implementation 'net.thauvin.erik:urlencoder:1.3.0'
|
||||
implementation 'net.thauvin.erik.urlencoder:urlencoder-lib:1.4.0'
|
||||
|
||||
testImplementation 'com.willowtreeapps.assertk:assertk-jvm:0.26.1'
|
||||
testImplementation 'com.willowtreeapps.assertk:assertk-jvm:0.27.0'
|
||||
// testImplementation 'org.mockito.kotlin:mockito-kotlin:4.0.0'
|
||||
// testImplementation "org.mockito:mockito-core:4.0.0"
|
||||
testImplementation 'org.testng:testng:7.8.0'
|
||||
|
|
|
@ -32,7 +32,7 @@ package net.thauvin.erik.mobibot
|
|||
|
||||
import net.thauvin.erik.mobibot.msg.Message
|
||||
import net.thauvin.erik.mobibot.msg.Message.Companion.DEFAULT_COLOR
|
||||
import net.thauvin.erik.urlencoder.UrlEncoder
|
||||
import net.thauvin.erik.urlencoder.UrlEncoderUtil
|
||||
import org.jsoup.Jsoup
|
||||
import org.pircbotx.Colors
|
||||
import org.pircbotx.PircBotX
|
||||
|
@ -42,6 +42,7 @@ import org.slf4j.Logger
|
|||
import java.io.*
|
||||
import java.net.HttpURLConnection
|
||||
import java.net.URL
|
||||
import java.net.URLEncoder
|
||||
import java.nio.file.Files
|
||||
import java.nio.file.Paths
|
||||
import java.time.LocalDateTime
|
||||
|
@ -145,7 +146,7 @@ object Utils {
|
|||
* URL encodes the given string.
|
||||
*/
|
||||
@JvmStatic
|
||||
fun String.encodeUrl(): String = UrlEncoder.encode(this)
|
||||
fun String.encodeUrl(): String = UrlEncoderUtil.encode(this)
|
||||
|
||||
/**
|
||||
* Returns a property as an int.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue