Skip to content

Commit

Permalink
Update Kotlin (1.9.20) and deps
Browse files Browse the repository at this point in the history
  • Loading branch information
gdude2002 committed Nov 11, 2023
1 parent ab1b48b commit 377126b
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
8 changes: 4 additions & 4 deletions buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ repositories {
}

dependencies {
implementation(kotlin("gradle-plugin", version = "1.9.10"))
implementation(kotlin("serialization", version = "1.9.10"))
implementation(kotlin("gradle-plugin", version = "1.9.20"))
implementation(kotlin("serialization", version = "1.9.20"))

implementation("gradle.plugin.org.cadixdev.gradle", "licenser", "0.6.1")
implementation("com.github.ben-manes", "gradle-versions-plugin", "0.47.0")
implementation("com.github.jakemarsden", "git-hooks-gradle-plugin", "0.0.2")
implementation("com.google.devtools.ksp", "com.google.devtools.ksp.gradle.plugin", "1.9.10-1.0.13")
implementation("io.gitlab.arturbosch.detekt", "detekt-gradle-plugin", "1.23.1")
implementation("com.google.devtools.ksp", "com.google.devtools.ksp.gradle.plugin", "1.9.20-1.0.14")
implementation("io.gitlab.arturbosch.detekt", "detekt-gradle-plugin", "1.23.3")
implementation("org.jetbrains.dokka", "dokka-gradle-plugin", "1.9.0")

implementation(gradleApi())
Expand Down
16 changes: 8 additions & 8 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
[versions]
detekt = "1.23.1" # Note: Plugin versions must be updated in buildSrc/build.gradle.kts
detekt = "1.23.3" # Note: Plugin versions must be updated in buildSrc/build.gradle.kts
dokka = "1.9.0" # Note: Plugin versions must be updated in buildSrc/build.gradle.kts
kotlin = "1.9.10" # Note: Plugin versions must be updated in buildSrc/build.gradle.kts
kotlin = "1.9.20" # Note: Plugin versions must be updated in buildSrc/build.gradle.kts

commons-validator = "1.7"
groovy = "3.0.19"
icu4j = "73.2"
icu4j = "74.1"
jansi = "2.4.1"
jsoup = "1.16.2"
junit = "5.10.0"
junit = "5.10.1"
koin = "3.5.0"
konf = "1.1.2"
kord = "0.12.0-SNAPSHOT"
#kord = "0.11.1"
ksp = "1.9.10-1.0.13"
ktor = "2.3.5"
ksp = "1.9.20-1.0.14"
ktor = "2.3.6"
kx-coro = "1.7.3"
kx-ser = "1.6.0"
linkie = "1.0.114"
logback = "1.4.11"
logback-groovy = "1.14.5"
logging = "5.1.0"
mongodb = "4.11.0"
mongodb = "4.11.1"
pf4j = "3.10.0"
semver = "1.4.2"
sentry = "6.32.0"
sentry = "6.33.1"
slf4j = "2.0.9"
time4j-base = "5.9.3"
time4j-tzdata = "5.0-2023b"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ public open class ExtensibleBot(
}

/** Start up the bot and log into Discord, but launched via Kord's coroutine scope. **/
public open suspend fun startAsync(): Job =
public open fun startAsync(): Job =
getKoin().get<Kord>().launch {
start()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package com.kotlindiscord.kord.extensions.koin
import org.koin.core.Koin
import org.koin.core.KoinApplication
import org.koin.core.context.KoinContext
import org.koin.core.error.KoinAppAlreadyStartedException
import org.koin.core.error.ApplicationAlreadyStartedException
import org.koin.core.module.Module
import org.koin.dsl.KoinAppDeclaration

Expand Down Expand Up @@ -51,7 +51,7 @@ public object KordExContext : KoinContext {
*/
private fun register(koinApplication: KoinApplication) {
if (koin != null) {
throw KoinAppAlreadyStartedException("KordEx Koin Application has already been started")
throw ApplicationAlreadyStartedException("KordEx Koin Application has already been started")
}

koinApp = koinApplication
Expand Down

0 comments on commit 377126b

Please sign in to comment.