Skip to content

Commit

Permalink
build: force kotlinx.serialization at >= 1.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
My-Name-Is-Jeff committed Jan 31, 2024
1 parent d17b52a commit c303ff5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
11 changes: 9 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
import java.security.MessageDigest

plugins {
kotlin("jvm") version "1.9.20"
kotlin("plugin.serialization") version "1.9.20"
kotlin("jvm") version "1.9.21"
kotlin("plugin.serialization") version "1.9.21"
id("com.github.johnrengelman.shadow") version "8.1.1"
id("net.kyori.blossom") version "2.0.0"
id("io.github.juuxel.loom-quiltflower") version "1.10.0"
Expand Down Expand Up @@ -117,6 +117,13 @@ dependencies {
shadowMe(ktor("serialization-kotlinx-json"))
shadowMe(ktor("serialization-gson"))

shadowMe("org.jetbrains.kotlinx:kotlinx-serialization-json") {
version {
strictly("[1.5.1,)")
prefer("1.6.2")
}
}

shadowMe(ktorClient("core"))
shadowMe(ktorClient("cio"))
shadowMe(ktorClient("content-negotiation"))
Expand Down
2 changes: 1 addition & 1 deletion events/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import org.apache.tools.ant.filters.FixCrLfFilter

plugins {
kotlin("jvm") version "1.9.20"
kotlin("jvm") version "1.9.21"
id("gg.essential.loom") version "1.3.12"
id("gg.essential.defaults") version "0.3.0"
}
Expand Down
2 changes: 1 addition & 1 deletion hypixel-api

0 comments on commit c303ff5

Please sign in to comment.