Skip to content

Commit

Permalink
v0.1.4 - Upgrade kotlin and ktor versions
Browse files Browse the repository at this point in the history
  • Loading branch information
warriorzz committed Nov 18, 2024
1 parent 8d67985 commit cded8a9
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation("ee.bjarn", "ktify", "0.1.2")
implementation("ee.bjarn", "ktify", "0.1.4")
}
```

Expand Down
19 changes: 10 additions & 9 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,40 +1,41 @@
import com.vanniktech.maven.publish.JavadocJar
import com.vanniktech.maven.publish.KotlinJvm
import com.vanniktech.maven.publish.SonatypeHost
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
kotlin("jvm") version "1.9.23"
kotlin("plugin.serialization") version "1.9.23"
kotlin("jvm") version "2.0.21"
kotlin("plugin.serialization") version "2.0.21"
id("org.jlleitschuh.gradle.ktlint") version "11.0.0"
id("org.jetbrains.dokka") version "1.9.20"
id("com.vanniktech.maven.publish") version "0.28.0"
}

group = "ee.bjarn"
version = "0.1.3"
version = "0.1.4"

repositories {
mavenCentral()
}

dependencies {
implementation(platform("io.ktor:ktor-bom:2.3.10"))
implementation(platform("io.ktor:ktor-bom:3.0.0"))
implementation("io.ktor", "ktor-client-okhttp")
implementation("io.ktor", "ktor-serialization-kotlinx-json")
implementation("io.ktor", "ktor-client-content-negotiation")
implementation("org.jetbrains.kotlinx", "kotlinx-serialization-json", "1.6.3")
implementation("org.jetbrains.kotlinx", "kotlinx-serialization-json", "1.7.3")

implementation("org.jetbrains.kotlinx", "kotlinx-coroutines-core", "1.8.0")
implementation("org.jetbrains.kotlinx", "kotlinx-coroutines-core", "1.9.0")
implementation("io.github.microutils", "kotlin-logging-jvm", "3.0.5")
implementation("org.slf4j", "slf4j-simple", "2.0.13")
}

tasks {
withType<KotlinCompile> {
kotlinOptions {
jvmTarget = "11"
freeCompilerArgs = freeCompilerArgs + "-opt-in=kotlin.RequiresOptIn"
compilerOptions {
jvmTarget.set(JvmTarget.JVM_11)
freeCompilerArgs.add("-opt-in=kotlin.RequiresOptIn")
}
}
dokkaHtml {
Expand Down
1 change: 1 addition & 0 deletions src/main/kotlin/ee/bjarn/ktify/Ktify.kt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import io.ktor.client.request.*
import io.ktor.http.*
import io.ktor.serialization.kotlinx.json.*
import io.ktor.util.*
import io.ktor.utils.io.InternalAPI
import kotlinx.serialization.json.JsonObject
import mu.KotlinLogging
import java.net.URLEncoder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import ee.bjarn.ktify.utils.base64encode
import io.ktor.client.call.*
import io.ktor.client.request.*
import io.ktor.util.*
import io.ktor.utils.io.InternalAPI
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

Expand Down

0 comments on commit cded8a9

Please sign in to comment.