Skip to content

Commit

Permalink
v1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Foso committed Aug 24, 2023
1 parent a21f7ea commit 473304b
Show file tree
Hide file tree
Showing 11 changed files with 42 additions and 27 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ Please see the documentation at [https://foso.github.io/Ktorfit/](https://foso.g

| Version | Kotlin | KSP | Ktor |
|--------------|:----------:|:----------:|:---------:|
| **_latest_** | **1.9.0** | **1.0.13** | **2.3.2** |
| **_1.4.4_** | **1.8.22** | **1.0.11** | **2.3.2** |
| **_latest_** | **1.9.10** | **1.0.13** | **2.3.3** |
| **_1.5.0_** | **1.9.0** | **1.0.13** | **2.3.2** |
| **_1.4.3_** | **1.8.20** | **1.0.11** | **2.3.1** |
| **_1.4.0_** | **1.8.20** | **1.0.11** | **2.3.0** |


# Release

Expand All @@ -38,7 +38,7 @@ plugins {
}

configure<de.jensklingenberg.ktorfit.gradle.KtorfitGradleConfiguration> {
version = "1.5.0"
version = "1.6.0"
}
```

Expand All @@ -49,21 +49,21 @@ plugins {
}

ktorfit{
version = "1.5.0"
version = "1.6.0"
}
```


KSP:
```kotlin
de.jensklingenberg.ktorfit:ktorfit-ksp:1.5.0
de.jensklingenberg.ktorfit:ktorfit-ksp:1.6.0
```

Ktorfit-lib/-light:
```kotlin
implementation("de.jensklingenberg.ktorfit:ktorfit-lib:1.5.0")
implementation("de.jensklingenberg.ktorfit:ktorfit-lib:1.6.0")
or
implementation("de.jensklingenberg.ktorfit:ktorfit-lib-light:1.5.0")
implementation("de.jensklingenberg.ktorfit:ktorfit-lib-light:1.6.0")
```


Expand Down
14 changes: 14 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,21 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Fixed
### Security

1.6.0 - 2023-08-24
========================================

### Added
### Changed
* KSP version 1.9.10-1.0.13 is now required
- Upgrade dependencies: Ktor 2.3.3

### Deprecated
### Removed
### Fixed
### Security

1.5.0 - 2023-08-04
========================================

### Added
### Changed
Expand Down
4 changes: 2 additions & 2 deletions example/AndroidOnlyExample/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
id("de.jensklingenberg.ktorfit") version "1.0.0"

}
val ktorfit = "1.5.0"
val ktorfit = "1.6.0"

configure<de.jensklingenberg.ktorfit.gradle.KtorfitGradleConfiguration> {
version = ktorfit
Expand Down Expand Up @@ -54,7 +54,7 @@ tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach
jvmTarget = "1.8"
}
}
val ktor = "2.3.2"
val ktor = "2.3.3"
val compose_ui_version = "1.4.3"
dependencies {
ksp("de.jensklingenberg.ktorfit:ktorfit-ksp:$ktorfit")
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.0' apply false
id 'org.jetbrains.kotlin.android' version '1.9.10' apply false
}
2 changes: 1 addition & 1 deletion example/MultiplatformExample/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ buildscript {
dependencies {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.0")
classpath("com.android.tools.build:gradle:7.3.1")
classpath("org.jetbrains.kotlin:kotlin-serialization:1.9.0")
classpath("org.jetbrains.kotlin:kotlin-serialization:1.9.10")

}
}
Expand Down
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.0-1.0.13"
id("com.google.devtools.ksp") version "1.9.10-1.0.13"
id("kotlinx-serialization")
id("de.jensklingenberg.ktorfit") version "1.0.0"
}

version = "1.0"
val ktorVersion = "2.3.2"
val ktorfitVersion = "1.5.0"
val ktorVersion = "2.3.3"
val ktorfitVersion = "1.6.0"

configure<de.jensklingenberg.ktorfit.gradle.KtorfitGradleConfiguration> {
version = ktorfitVersion
Expand Down
16 changes: 9 additions & 7 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
[versions]
autoService = "1.1.1"
autoServiceKsp = "1.10"
coroutines = "1.7.3"
detekt = "1.23.0"
gradlePlugin = "1.0.0"
kctfork = "0.3.2"
kotlin = "1.9.0"
kctfork = "0.3.1"
kotlin = "1.9.10"
kotlinPoet = "1.14.2"
kspVersion = "1.9.0-1.0.13"
ktorfit = "1.5.0"
ktorfit-lib = "1.5.0"
ktorVersion = "2.3.2"
kspVersion = "1.9.10-1.0.13"
ktorfit = "1.6.0"
ktorfit-lib = "1.6.0"
ktorVersion = "2.3.3"
dokkaVersion = "1.8.20"
gradleMavenPublishPlugin = "0.24.0"
gradleMavenPublishPlugin = "0.25.3"
vannikMavenPublish = "0.25.3"

[libraries]
android-build-gradle = "com.android.tools.build:gradle:7.4.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" }
dokka-gradle-plugin = { module = "org.jetbrains.dokka:dokka-gradle-plugin", version.ref = "dokkaVersion" }
gradle-maven-publish-plugin = { module = "com.vanniktech:gradle-maven-publish-plugin", version.ref = "gradleMavenPublishPlugin" }
Expand Down
2 changes: 1 addition & 1 deletion ktorfit-ksp/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

val enableSigning = project.hasProperty("ORG_GRADLE_PROJECT_signingInMemoryKey")

plugins {
kotlin("jvm")
Expand All @@ -26,7 +27,6 @@ tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}

val enableSigning = project.hasProperty("ORG_GRADLE_PROJECT_signingInMemoryKey")
mavenPublishing {
coordinates("de.jensklingenberg.ktorfit", "ktorfit-ksp", libs.versions.ktorfit.asProvider().get())
publishToMavenCentral()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package de.jensklingenberg.ktorfit

import com.google.auto.service.AutoService
import com.google.devtools.ksp.closestClassDeclaration
import com.google.devtools.ksp.processing.*
import com.google.devtools.ksp.symbol.KSAnnotated
Expand All @@ -9,7 +8,6 @@ import de.jensklingenberg.ktorfit.generator.generateImplClass
import de.jensklingenberg.ktorfit.http.*
import de.jensklingenberg.ktorfit.model.toClassData

@AutoService(SymbolProcessorProvider::class)
class KtorfitProcessorProvider : SymbolProcessorProvider {
override fun create(environment: SymbolProcessorEnvironment): SymbolProcessor {
return KtorfitProcessor(environment, KtorfitOptions(environment.options))
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
de.jensklingenberg.ktorfit.KtorfitProcessorProvider
4 changes: 2 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ extra:
site:
images: '../../images'
ktorfit:
release: "1.5.0"
release: "1.6.0"
ktor:
release: "2.3.2"
release: "2.3.3"
social:
- icon: fontawesome/brands/github-alt
link: 'https://github.com/foso'
Expand Down

0 comments on commit 473304b

Please sign in to comment.