Skip to content

Commit

Permalink
update versions and add kordex gradle plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
zt64 committed Nov 3, 2024
1 parent ccbad88 commit 951a2cb
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 5 deletions.
11 changes: 9 additions & 2 deletions bot/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
import dev.kordex.gradle.plugins.kordex.DataCollection

plugins {
application

alias(libs.plugins.kotlin.serialization)
alias(libs.plugins.kordEx)
}

application {
mainClass = "dev.zt64.minkinator.MainKt"
kordEx {
bot {
dataCollection(DataCollection.Standard)

mainClass = "dev.zt64.minkinator.MainKt"
}
}

dependencies {
Expand Down
8 changes: 5 additions & 3 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
[versions]
kotlin = "2.0.21"
ktor = "2.3.12"
kord-ex = "2.1.0-SNAPSHOT"
ktor = "3.0.1"
kord-ex = "2.3.0-SNAPSHOT"
kord-ex-plugin = "1.5.4"
ksp = "2.0.21-1.0.26"
scrimmage = "4.2.0"
kotlindl = "0.5.2"
komapper = "2.2.2"
komapper = "3.1.0"
ktlintGradle = "12.1.1"
ktlint = "1.3.1"

Expand Down Expand Up @@ -40,5 +41,6 @@ kotlindl = ["kotlindl-tensorflow", "kotlindl-onnx", "kotlindl-visualization"]
[plugins]
kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
kordEx = { id = "dev.kordex.gradle.kordex", version.ref = "kord-ex-plugin" }
ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
ktlint = { id = "org.jlleitschuh.gradle.ktlint", version.ref = "ktlintGradle" }
4 changes: 4 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
pluginManagement {
repositories {
gradlePluginPortal()
mavenCentral()

maven("https://snapshots-repo.kordex.dev")
maven("https://releases-repo.kordex.dev")
}
}

Expand Down

0 comments on commit 951a2cb

Please sign in to comment.