Skip to content

Commit

Permalink
Kotlin 1.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
romainbsl committed Aug 4, 2023
1 parent 6a17432 commit 466de0d
Show file tree
Hide file tree
Showing 8 changed files with 279 additions and 524 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.type"
version = "2.5.0"
version = "2.6.0"
}
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
5 changes: 4 additions & 1 deletion kaverit/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ kotlin.kodein {
kotlin.sourceSets {
val nonJvmMain = create("nonJvmMain") { dependsOn(commonMain.get()) }
getByName("nativeMain").dependsOn(nonJvmMain)
getByName("jsBasedMain").dependsOn(nonJvmMain)
val jsBasedMain by getting {
dependsOn(nonJvmMain)
}
getByName("wasmMain").dependsOn(jsBasedMain)
}

kodeinUpload {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
@file:OptIn(BetaInteropApi::class)

package org.kodein.type

import kotlinx.cinterop.BetaInteropApi
import kotlinx.cinterop.ObjCClass
import kotlinx.cinterop.ObjCProtocol
import kotlinx.cinterop.getOriginalKotlinClass
Expand All @@ -24,7 +27,6 @@ public actual inline fun <reified T : Any> erased(): TypeToken<T> = erased(T::cl
* @param T The type to get.
* @return The type object representing `T`.
*/
@OptIn(ExperimentalStdlibApi::class)
@Suppress("UNCHECKED_CAST")
public actual inline fun <reified T : Any> generic(): TypeToken<T> = typeToken(typeOf<T>()) as TypeToken<T>

Expand Down
772 changes: 258 additions & 514 deletions kotlin-js-store/yarn.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,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.0.0")
classpath("org.kodein.internal.gradle:kodein-internal-gradle-settings:8.2.0")
}
}

Expand Down
12 changes: 11 additions & 1 deletion tests/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,18 @@ plugins {

kotlin.kodein {
all()

wasm {
target {
browser {
testTask(Action { enabled = false })
}
}
}
common.mainDependencies {
implementation(projects.kaverit)
}
}

android {
namespace = "org.kodein.di.type.test"
}
4 changes: 0 additions & 4 deletions tests/src/androidMain/AndroidManifest.xml

This file was deleted.

0 comments on commit 466de0d

Please sign in to comment.