Skip to content

Commit

Permalink
Kotlin 1.7.20-RC
Browse files Browse the repository at this point in the history
  • Loading branch information
romainbsl committed Sep 26, 2022
1 parent 2e83470 commit 62dc622
Show file tree
Hide file tree
Showing 11 changed files with 31 additions and 37 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ plugins {

allprojects {
group = "org.kodein.di"
version = "7.14.0"
version = "7.15.0-kotlin-1.7.20-RC"
}
8 changes: 4 additions & 4 deletions doc/antora.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: kodein-di
title: Kodein-DI
version: '7.14.0'
display_version: '7.14.0'
version: '7.15.0-kotlin-1.7.20-RC'
display_version: '7.15.0-kotlin-1.7.20-RC'
nav:
- modules/ROOT/nav.adoc
- modules/core/nav.adoc
Expand All @@ -10,6 +10,6 @@ nav:
- modules/migration/nav.adoc
asciidoc:
attributes:
version: '7.14.0'
kotlin: '1.7.10'
version: '7.15.0-kotlin-1.7.20-RC'
kotlin: '1.7.20-RC'
jdk: '1.8'
8 changes: 6 additions & 2 deletions doc/modules/framework/pages/compose.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,16 @@ Here is a table containing the version compatibility:
|===
|Kodein-DI |Compose compiler |Kotlin

|7.15.0-kotlin-1.7.20-RC
|NOT COMPATIBLE
|1.7.20

|7.14.0
1.2.0-alpha01-dev745
|1.2.0-alpha01-dev745
|1.7.10

|7.13.1
1.2.0-alpha01-dev745
|1.2.0-alpha01-dev745
|1.7.0

|7.10.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id("org.jetbrains.compose") version "1.2.0-alpha01-dev745"
id("org.jetbrains.compose") version "1.2.0-beta01"
id("org.kodein.library.mpp-with-android")
}

Expand All @@ -17,7 +17,7 @@ kodein {
add(kodeinTargets.jvm.android) {
main.dependencies {
api(project(":framework:android:kodein-di-framework-android-x"))
api("androidx.lifecycle:lifecycle-viewmodel-compose:2.5.0")
api("androidx.lifecycle:lifecycle-viewmodel-compose:2.5.1")
}
}

Expand Down
2 changes: 1 addition & 1 deletion kodein-di/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ kodein {

common {
main.dependencies {
api("org.kodein.type:kaverit:2.1.0")
api("org.kodein.type:kaverit:2.2.1-kotlin-1.7.20-RC")
}
test.dependencies {
implementation(project(":test-utils"))
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
package org.kodein.di.internal

import org.kodein.di.*
import org.kodein.di.bindings.*
import org.kodein.di.AnyDIContext
import org.kodein.di.BindingsMap
import org.kodein.di.DI
import org.kodein.di.DIContainer
import org.kodein.di.DIContext
import org.kodein.di.DITree
import org.kodein.di.SearchSpecs
import org.kodein.di.Volatile
import org.kodein.di.bindings.BindingDI
import org.kodein.di.bindings.ExternalSource
import org.kodein.di.bindings.toKContext
import org.kodein.di.description
import org.kodein.di.fullDescription

internal class DIContainerImpl private constructor(
override val tree: DITree,
Expand All @@ -13,10 +24,6 @@ internal class DIContainerImpl private constructor(
@Volatile var initCallbacks: (() -> Unit)? = null
private set

init {
ensureNeverFrozen()
}

/**
* "Main" constructor that uses the bindings map configured by a [DIContainer.Builder].
*/
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

8 changes: 4 additions & 4 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,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:6.20.0")
classpath("org.kodein.internal.gradle:kodein-internal-gradle-settings:6.20.2-kotlin-1.7.20-RC")
}
}

Expand Down Expand Up @@ -39,6 +39,6 @@ framework("tfx").include(
":framework:tornadofx:kodein-di-framework-tornadofx-jvm"
)

framework("compose").include(
":framework:compose:kodein-di-framework-compose"
)
//framework("compose").include(
// ":framework:compose:kodein-di-framework-compose"
//)

0 comments on commit 62dc622

Please sign in to comment.