Skip to content

Commit

Permalink
chore: Update (Ktor 2.3.1, Kotlin Poet 1.14.2) (#333)
Browse files Browse the repository at this point in the history
  • Loading branch information
Foso authored Jun 3, 2023
1 parent 1e83f43 commit d608141
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
1 change: 1 addition & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Added

### Changed
- Upgrade dependencies: Ktor 2.3.1

### Deprecated

Expand Down
2 changes: 1 addition & 1 deletion example/AndroidOnlyExample/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach
jvmTarget = "1.8"
}
}
val ktor = "2.3.0"
val ktor = "2.3.1"
val compose_ui_version = "1.4.3"
dependencies {
ksp("de.jensklingenberg.ktorfit:ktorfit-ksp:$ktorfit")
Expand Down
2 changes: 1 addition & 1 deletion example/MultiplatformExample/shared/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins {
}

version = "1.0"
val ktorVersion = "2.3.0"
val ktorVersion = "2.3.1"
val ktorfitVersion = "1.4.0"

configure<de.jensklingenberg.ktorfit.gradle.KtorfitGradleConfiguration> {
Expand Down
7 changes: 4 additions & 3 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,19 @@ coroutines = "1.6.4"
detekt = "1.22.0"
kctfork = "0.2.1"
kotlin = "1.8.21"
kotlinPoet = "1.13.2"
kotlinPoet = "1.14.2"
kspVersion = "1.8.21-1.0.11"
ktorfit = "1.4.0"
ktorfit-lib = "1.4.0"
ktorVersion = "2.3.0"
ktorVersion = "2.3.1"
dokkaVersion = "1.8.10"
gradleMavenPublishPlugin = "0.24.0"

[libraries]
android-build-gradle = "com.android.tools.build:gradle:7.4.0"
autoService = { module = "com.google.auto.service:auto-service", version.ref = "autoService" }
dokka-gradle-plugin = { module = "org.jetbrains.dokka:dokka-gradle-plugin", version.ref = "dokkaVersion" }
gradle-maven-publish-plugin = "com.vanniktech:gradle-maven-publish-plugin:0.24.0"
gradle-maven-publish-plugin = { module = "com.vanniktech:gradle-maven-publish-plugin", version.ref = "gradleMavenPublishPlugin" }
junit = "junit:junit:4.13.2"
kctfork-core = { module = "dev.zacsweers.kctfork:core", version.ref = "kctfork" }
kctfork-ksp = { module = "dev.zacsweers.kctfork:ksp", version.ref = "kctfork" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class RequestConverterTextKtTest {

@Test
fun generateCorrectFunction() {
val expected = """public fun TestFunction(): kotlin.Unit {
val expected = """public fun TestFunction() {
val test1: com.example.Test = ktorfitClient.convertParameterType(test1,test1::class,com.example.Test::class)
}
"""
Expand Down

0 comments on commit d608141

Please sign in to comment.