Skip to content

Commit

Permalink
kotlin 2.0 !!!
Browse files Browse the repository at this point in the history
  • Loading branch information
romainbsl committed May 23, 2024
1 parent 261b7a4 commit 9bc7592
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 21 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ KOtlin DEpendency INjection
**_KODEIN_** provides extensions to be integrable into:

- [Android](https://developer.android.com/)
- [Compose (Android / Desktop / Web)](https://kosi-libs.org/kodein/7.21/framework/compose.html)
- [Compose (Android / Desktop / Web)](https://kosi-libs.org/kodein/7.22/framework/compose.html)
- [Ktor](https://ktor.io/)

An example is always better than a thousand words:
Expand Down Expand Up @@ -89,7 +89,7 @@ Kotlin & JVM compatibility
| 7.17.1 | 1.8.0 | min 1.8 |
| 7.17.0 | 1.8.0 | min 1.8 |

> Full table can be found [here](https://kosi-libs.org/kodein/7.21/core/platform-and-genericity.html)
> Full table can be found [here](https://kosi-libs.org/kodein/7.22/core/platform-and-genericity.html)
Support
-------
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ plugins {

allprojects {
group = "org.kodein.di"
version = "7.21.2"
version = "7.22.0"
}
12 changes: 6 additions & 6 deletions doc/antora.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: kodein
title: Kodein
version: '7.21'
display_version: '7.21.1'
version: '7.22'
display_version: '7.22.0'
nav:
- modules/ROOT/nav.adoc
- modules/core/nav.adoc
Expand All @@ -10,7 +10,7 @@ nav:
- modules/migration/nav.adoc
asciidoc:
attributes:
branch: '7.21'
version: '7.21.1'
kotlin: '1.9.21'
jdk: '1.8'
branch: '7.22'
version: '7.22.0'
kotlin: '2.0.0'
jdk: '11'
4 changes: 4 additions & 0 deletions doc/modules/ROOT/pages/platform-and-genericity.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ Here is a table containing the version compatibility:
|Kodein
|Kotlin

|7.22.0
|Compose 1.6.10
|1.9.21

|7.21.2
|Compose 1.6.0-alpha01
|1.9.21
Expand Down
4 changes: 4 additions & 0 deletions doc/modules/framework/pages/compose.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ Here is a table containing the version compatibility:
|Compose compiler
|Kotlin

|7.22.0
|Compose 1.6.10
|1.9.21

|7.21.2
|Compose 1.6.0-alpha01
|1.9.21
Expand Down
8 changes: 4 additions & 4 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
[versions]
# Core
kaverit = "2.9.0-kotlin-2-SNAPSHOT"
kaverit = "2.9.0"
# Android
android-appcompat = "28.0.0"
androidx-appcompat = "1.6.1"
androidx-fragment = "1.6.2"
androidx-lifecycle = "2.7.0"
androidx-compose = "2.7.7"
# Compose
jbCompose = "1.6.10-beta03"
compose-compiler = "2.0.0-RC2"
compose-bom = "2024.04.01"
jbCompose = "1.6.10"
compose-compiler = "2.0.0"
compose-bom = "2024.05.00"
# KSP
kotlinpoet = "1.14.2"
ksp = "1.9.20-1.0.14"
Expand Down
7 changes: 0 additions & 7 deletions kodein-di/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,6 @@ kotlin.kodein {
}
}

//kotlin {
// @OptIn(ExperimentalKotlinGradlePluginApi::class)
// compilerOptions {
// freeCompilerArgs.add("-Xexpect-actual-classes")
// }
//}

kodeinUpload {
name = "Kodein"
description = "Kodein Core"
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ buildscript {
maven(url = "https://raw.githubusercontent.com/kosi-libs/kodein-internal-gradle-plugin/mvn-repo")
}
dependencies {
classpath("org.kodein.internal.gradle:kodein-internal-gradle-settings:8.7.0-kotlin-2.0.0-RC3-SNAPSHOT")
classpath("org.kodein.internal.gradle:kodein-internal-gradle-settings:8.7.0")
}
}

Expand Down

0 comments on commit 9bc7592

Please sign in to comment.