Skip to content

Commit

Permalink
Final fix for java 22
Browse files Browse the repository at this point in the history
  • Loading branch information
DRSchlaubi committed Apr 29, 2024
1 parent 6b67d80 commit faa7eb2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ permissions: write-all

jobs:
mikbot:
uses: mikbot/mikbot-workflow/.github/workflows/[email protected].4
uses: mikbot/mikbot-workflow/.github/workflows/[email protected].5
with:
run-maven-publish: true
update-binary-repository: true
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ coroutines = "1.8.0"
serialization = "1.6.3"
ktor = "2.3.10"
kord = "0.13.1"
api = "3.30.0"
api = "3.30.1"
ksp = "2.0.0-RC1-1.0.20"
lavakord = "6.1.3"

Expand Down
10 changes: 3 additions & 7 deletions music/commands/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
`mikbot-module`
alias(libs.plugins.kotlinx.serialization)
Expand All @@ -12,11 +10,9 @@ dependencies {
optionalPlugin(projects.core.gdpr)
}

tasks {
withType<KotlinCompile> {
kotlinOptions {
freeCompilerArgs = freeCompilerArgs + "-Xcontext-receivers"
}
kotlin {
compilerOptions {
freeCompilerArgs.add("-Xcontext-receivers")
}
}

Expand Down

0 comments on commit faa7eb2

Please sign in to comment.