Skip to content

Commit

Permalink
Release 1.12.0 (#514)
Browse files Browse the repository at this point in the history
  • Loading branch information
Foso authored Jan 16, 2024
1 parent 34c48e5 commit 93aa71f
Show file tree
Hide file tree
Showing 12 changed files with 34 additions and 23 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,30 +32,30 @@ build.gradle.kts:

```kotlin
plugins {
id("de.jensklingenberg.ktorfit") version "1.11.1"
id("de.jensklingenberg.ktorfit") version "1.12.0"
}
```

build.gradle

```kotlin
plugins {
id("de.jensklingenberg.ktorfit") version "1.11.1"
id("de.jensklingenberg.ktorfit") version "1.12.0"
}
```

KSP:

```kotlin
de.jensklingenberg.ktorfit:ktorfit-ksp:1.11.1
de.jensklingenberg.ktorfit:ktorfit-ksp:1.12.0
```

Ktorfit-lib/-light:

```kotlin
implementation("de.jensklingenberg.ktorfit:ktorfit-lib:1.11.1")
implementation("de.jensklingenberg.ktorfit:ktorfit-lib:1.12.0")
or
implementation("de.jensklingenberg.ktorfit:ktorfit-lib-light:1.11.1")
implementation("de.jensklingenberg.ktorfit:ktorfit-lib-light:1.12.0")
```

## 👷 Project Structure
Expand Down
2 changes: 1 addition & 1 deletion docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ 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.

Unreleased
1.12.0 - 2024-01-16
========================================
- Compatible with KSP 1.0.16 and Kotlin 1.9.22

Expand Down
10 changes: 5 additions & 5 deletions example/AndroidOnlyExample/app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
plugins {
id("com.android.application")
id("org.jetbrains.kotlin.android")
id("com.google.devtools.ksp") version "1.9.20-1.0.14"
id("org.jetbrains.kotlin.plugin.serialization") version "1.9.10"
id("de.jensklingenberg.ktorfit") version "1.11.1"
id("com.google.devtools.ksp") version "1.9.22-1.0.16"
id("org.jetbrains.kotlin.plugin.serialization") version "1.9.22"
id("de.jensklingenberg.ktorfit") version "1.12.0"
}


Expand Down Expand Up @@ -41,7 +41,7 @@ android {
compose = (true)
}
composeOptions {
kotlinCompilerExtensionVersion = "1.5.3"
kotlinCompilerExtensionVersion = "1.5.8"
}
}

Expand All @@ -51,7 +51,7 @@ tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach
}
}

val ktorfit = "1.11.1"
val ktorfit = "1.12.0"
val ktor = "2.3.6"
val compose_ui_version = "1.5.1"
dependencies {
Expand Down
2 changes: 1 addition & 1 deletion example/AndroidOnlyExample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
plugins {
id 'com.android.application' version '8.0.2' apply false
id 'com.android.library' version '8.0.2' apply false
id 'org.jetbrains.kotlin.android' version '1.9.10' apply false
id 'org.jetbrains.kotlin.android' version '1.9.22' apply false
}
4 changes: 2 additions & 2 deletions example/MultiplatformExample/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ buildscript {
}
}
dependencies {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.20")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.22")
classpath("com.android.tools.build:gradle:7.3.1")
classpath("org.jetbrains.kotlin:kotlin-serialization:1.9.20")
classpath("org.jetbrains.kotlin:kotlin-serialization:1.9.22")

}
}
Expand Down
2 changes: 1 addition & 1 deletion example/MultiplatformExample/iosApp/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ SPEC CHECKSUMS:

PODFILE CHECKSUM: f282da88f39e69507b0a255187c8a6b644477756

COCOAPODS: 1.12.0
COCOAPODS: 1.14.3
2 changes: 1 addition & 1 deletion example/MultiplatformExample/iosApp/Pods/Manifest.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions example/MultiplatformExample/shared/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ plugins {
kotlin("multiplatform")
kotlin("native.cocoapods")
id("com.android.library")
id("com.google.devtools.ksp") version "1.9.21-1.0.15"
id("com.google.devtools.ksp") version "1.9.22-1.0.16"
id("kotlinx-serialization")
id("de.jensklingenberg.ktorfit") version "1.11.1"
id("de.jensklingenberg.ktorfit") version "1.12.0"
}

version = "1.0"
val ktorVersion = "2.3.6"
val ktorfitVersion = "1.11.1"
val ktorfitVersion = "1.12.0"

kotlin {
jvmToolchain(8)
Expand Down
11 changes: 11 additions & 0 deletions example/MultiplatformExample/shared/shared.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,17 @@ Pod::Spec.new do |spec|
spec.ios.deployment_target = '14.1'


if !Dir.exist?('build/cocoapods/framework/shared.framework') || Dir.empty?('build/cocoapods/framework/shared.framework')
raise "
Kotlin framework 'shared' doesn't exist yet, so a proper Xcode project can't be generated.
'pod install' should be executed after running ':generateDummyFramework' Gradle task:
./gradlew :shared:generateDummyFramework
Alternatively, proper pod installation is performed during Gradle sync in the IDE (if Podfile location is set)"
end

spec.pod_target_xcconfig = {
'KOTLIN_PROJECT_PATH' => ':shared',
'PRODUCT_MODULE_NAME' => 'shared',
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ kctfork = "0.4.0"
kotlin = "1.9.22"
kotlinPoet = "1.15.1"
kspVersion = "1.9.22-1.0.16"
ktorfit = "1.11.1"
ktorfit = "1.12.0"
ktorfitGradlePlugin = "1.10.1"
ktorVersion = "2.3.6"
mockk = "1.13.8"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ open class KtorfitGradleConfiguration {
* version number of the compiler plugin
*/
@Deprecated("Update the Gradle plugin instead of updating this version")
var version: String = "1.11.1" // remember to bump this version before any release!
var version: String = "1.12.0" // remember to bump this version before any release!

/**
* used to get debug information from the compiler plugin
Expand Down

0 comments on commit 93aa71f

Please sign in to comment.