Skip to content

Commit

Permalink
Update KSP 1.0.19, Kotlin 1.9.23, Ktor 2.3.9 (#525)
Browse files Browse the repository at this point in the history
  • Loading branch information
Foso authored Mar 12, 2024
1 parent 93aa71f commit 312a9f5
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: 11
java-version: 17
distribution: 'zulu'
- name: Cache Gradle and wrapper
uses: actions/cache@v3
Expand Down
4 changes: 4 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project orients towards [Semantic Versioning](http://semver.org/spec/v2
Note: This project needs KSP to work and every new Ktorfit with an update of the KSP version is technically a breaking change.
But there is no intent to bump the Ktorfit major version for every KSP update.

1.13.0 - XX
========================================
- Build with KSP 1.0.19, Kotlin 1.9.23, Ktor 2.3.9

1.12.0 - 2024-01-16
========================================
- Compatible with KSP 1.0.16 and Kotlin 1.9.22
Expand Down
4 changes: 2 additions & 2 deletions example/AndroidOnlyExample/app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
plugins {
id("com.android.application")
id("org.jetbrains.kotlin.android")
id("com.google.devtools.ksp") version "1.9.22-1.0.16"
id("org.jetbrains.kotlin.plugin.serialization") version "1.9.22"
id("com.google.devtools.ksp") version "1.9.23-1.0.19"
id("org.jetbrains.kotlin.plugin.serialization") version "1.9.23"
id("de.jensklingenberg.ktorfit") version "1.12.0"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import kotlinx.coroutines.flow.Flow
interface StarWarsApi {

companion object {
const val baseUrl = "https://swapi.dev/api/"
const val baseUrl = "https://swapi.info/api/"
}

@GET("people/{id}/")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import kotlinx.coroutines.flow.Flow

interface StarWarsApi {
companion object {
const val baseUrl = "https://swapi.dev/api/"
const val baseUrl = "https://swapi.info/api/"
}

@GET("people/{id}/")
Expand Down
10 changes: 5 additions & 5 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@ coroutines = "1.7.3"
detekt = "1.23.1"
junit = "4.13.2"
kctfork = "0.4.0"
kotlin = "1.9.22"
kotlinPoet = "1.15.1"
kspVersion = "1.9.22-1.0.16"
kotlin = "1.9.23"
kotlinPoet = "1.16.0"
kspVersion = "1.9.23-1.0.19"
ktorfit = "1.12.0"
ktorfitGradlePlugin = "1.10.1"
ktorVersion = "2.3.6"
ktorVersion = "2.3.9"
mockk = "1.13.8"
mockito-kotlin = "4.1.0"
gradleMavenPublishPlugin = "0.25.3"
vannikMavenPublish = "0.25.3"

[libraries]
android-build-gradle = "com.android.tools.build:gradle:7.4.2"
android-build-gradle = "com.android.tools.build:gradle:8.2.2"
auto-service-ksp = { module = "dev.zacsweers.autoservice:auto-service-ksp", version.ref = "autoServiceKsp" }
autoService = { module = "com.google.auto.service:auto-service", version.ref = "autoService" }
gradle-maven-publish-plugin = { module = "com.vanniktech:gradle-maven-publish-plugin", version.ref = "gradleMavenPublishPlugin" }
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit 312a9f5

Please sign in to comment.